diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-12-27 14:00:57 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-12-27 14:00:57 +0000 |
commit | 28a1f1d1e86de7182650b8b57d2c9867b0415ce3 (patch) | |
tree | 31aefb34383857ad902877e039e18d74777261de | |
parent | - Remove unneeded bsd.port.pre.mk inclusion (diff) |
- Switch to options helpers
Notes
Notes:
svn path=/head/; revision=404569
-rw-r--r-- | audio/gramofile/Makefile | 12 | ||||
-rw-r--r-- | audio/gramofile/pkg-plist | 2 |
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 |