aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraraujo <araujo@FreeBSD.org>2016-01-13 12:30:04 +0800
committeraraujo <araujo@FreeBSD.org>2016-01-13 12:30:04 +0800
commit1f09aa34472c174ee001d3d39073f25681a58639 (patch)
treeb72bff97d01dbed1403a8bf8e9ed2ccc6a3183a5
parentdcddf03f77b3a1967a95a35ed4359583bfece1ed (diff)
downloadfreebsd-ports-gnome-1f09aa34472c174ee001d3d39073f25681a58639.tar.gz
freebsd-ports-gnome-1f09aa34472c174ee001d3d39073f25681a58639.tar.zst
freebsd-ports-gnome-1f09aa34472c174ee001d3d39073f25681a58639.zip
- Remove bogus USE_GCC and respect ${CC} and ${CFLAGS} instead.
- Install documentation via dedicated `do-install-DOCS-on' target. Submitted by: danfe
-rw-r--r--print/abcm2ps/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/print/abcm2ps/Makefile b/print/abcm2ps/Makefile
index 4429ac838578..f1253890345b 100644
--- a/print/abcm2ps/Makefile
+++ b/print/abcm2ps/Makefile
@@ -10,7 +10,7 @@ MAINTAINER= araujo@FreeBSD.org
COMMENT= Converts ABC to music sheet in PostScript format
USES= cpe
-USE_GCC= yes
+MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
CPE_VENDOR= moinejf
GNU_CONFIGURE= yes
ALL_TARGET= ${PORTNAME}
@@ -28,7 +28,9 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/abcm2ps ${STAGEDIR}${PREFIX}/bin/
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.fmt ${STAGEDIR}${DATADIR}/
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>