aboutsummaryrefslogtreecommitdiff
path: root/audio/gramofile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-12-27 14:00:57 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-12-27 14:00:57 +0000
commit28a1f1d1e86de7182650b8b57d2c9867b0415ce3 (patch)
tree31aefb34383857ad902877e039e18d74777261de /audio/gramofile
parent1b66c05e8645da9eb714421fdb953622e3e7e2f5 (diff)
downloadports-28a1f1d1e86de7182650b8b57d2c9867b0415ce3.tar.gz
ports-28a1f1d1e86de7182650b8b57d2c9867b0415ce3.zip
Notes
Diffstat (limited to 'audio/gramofile')
-rw-r--r--audio/gramofile/Makefile12
-rw-r--r--audio/gramofile/pkg-plist2
2 files changed, 9 insertions, 5 deletions
diff --git a/audio/gramofile/Makefile b/audio/gramofile/Makefile
index 9b6b6dd0300a..665a26347002 100644
--- a/audio/gramofile/Makefile
+++ b/audio/gramofile/Makefile
@@ -19,11 +19,13 @@ LIB_DEPENDS= libfftw.so:${PORTSDIR}/math/fftw
ALL_TARGET= gramofile
USES= gmake perl5
USE_CSTD= gnu89
-MAKE_ARGS+= CC="${CC}"
-MAKE_ARGS+= CXX="${CXX}"
+MAKE_ARGS= CC="${CC}" \
+ CXX="${CXX}" \
+ PERLCOREDIR=${PERLCOREDIR}
PERLCOREDIR= ${LOCALBASE}/lib/perl5/${PERL_VER}/${PERL_ARCH}/CORE
-MAKE_ARGS+= PERLCOREDIR=${PERLCOREDIR}
+
+OPTIONS_DEFINE= DOCS
post-patch:
${RM} ${WRKSRC}/debian/20-warning-fixes.dpatch
@@ -42,8 +44,10 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gramofile ${WRKSRC}/bplay_gramo \
${STAGEDIR}${PREFIX}/bin
+ ${LN} -s bplay_gramo ${STAGEDIR}${PREFIX}/bin/brec_gramo
+
+do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
- ${LN} -s bplay_gramo ${STAGEDIR}${PREFIX}/bin/brec_gramo
.include <bsd.port.mk>
diff --git a/audio/gramofile/pkg-plist b/audio/gramofile/pkg-plist
index 522d2b403ed7..32a30443788d 100644
--- a/audio/gramofile/pkg-plist
+++ b/audio/gramofile/pkg-plist
@@ -1,4 +1,4 @@
bin/gramofile
bin/bplay_gramo
bin/brec_gramo
-%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/README