aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mkclean
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-10-03 17:41:27 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-10-03 17:41:27 +0000
commita7f0dae8f8b1ad21aa04bc8f12b45ae262b2794c (patch)
tree9005afc27f9ba4b86a5582e131e3187e44e0bb5c /multimedia/mkclean
parenta938bac9ff832304647cf30e49890464ca2feff3 (diff)
downloadports-a7f0dae8f8b1ad21aa04bc8f12b45ae262b2794c.tar.gz
ports-a7f0dae8f8b1ad21aa04bc8f12b45ae262b2794c.zip
Properly support staging, take advantage of the new BROKEN_${ARCH}
Notes
Notes: svn path=/head/; revision=329215
Diffstat (limited to 'multimedia/mkclean')
-rw-r--r--multimedia/mkclean/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/multimedia/mkclean/Makefile b/multimedia/mkclean/Makefile
index 6d89f71619e4..05a2853857ca 100644
--- a/multimedia/mkclean/Makefile
+++ b/multimedia/mkclean/Makefile
@@ -25,15 +25,10 @@ BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}
PLIST_FILES= bin/mkclean \
bin/mkWDclean
-NO_STAGE= yes
+BROKEN_sparc64= Does not install on sparc64: gmake: GNUmakefile: No such file or directory
+
post-extract:
- @${REINPLACE_CMD} -e "s,/usr/local,${PREFIX},g" ${WRKSRC}/corec/tools/coremake/gcc_mak.inc
+ @${REINPLACE_CMD} -e 's,/usr/local,$$(DESTDIR)$$(PREFIX),g' ${WRKSRC}/corec/tools/coremake/gcc_mak.inc
@${RM} ${WRKSRC}/libmatroska2/test/test.proj
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "sparc64"
-BROKEN= Does not install on sparc64: gmake: GNUmakefile: No such file or directory
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>