diff options
author | bapt <bapt@FreeBSD.org> | 2013-11-25 03:13:44 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-11-25 03:13:44 +0800 |
commit | c7ed1e356a2e68d512f26d6d15d3a217b5392e62 (patch) | |
tree | 0688a1eda3e52f942bfdd31c0131de389209b61c | |
parent | 5863227ff4be0c22398d03704963cdf25a28e38e (diff) | |
download | freebsd-ports-gnome-c7ed1e356a2e68d512f26d6d15d3a217b5392e62.tar.gz freebsd-ports-gnome-c7ed1e356a2e68d512f26d6d15d3a217b5392e62.tar.zst freebsd-ports-gnome-c7ed1e356a2e68d512f26d6d15d3a217b5392e62.zip |
Support staging
Remove useless patching
-rw-r--r-- | audio/cdplay/Makefile | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/audio/cdplay/Makefile b/audio/cdplay/Makefile index f0200cbd8bf8..4c3241b801a5 100644 --- a/audio/cdplay/Makefile +++ b/audio/cdplay/Makefile @@ -13,27 +13,23 @@ COMMENT= CD-player with text-based user interface MAKE_ARGS= CFLAGS="${CFLAGS} -c -ansi" \ BINPATH="${PREFIX}/bin/" \ - MANPATH="${MANPREFIX}/man/man1/" + MANPATH="${MANPREFIX}/man/man1/" \ + CC="${CC}" MAKE_JOBS_UNSAFE= yes -NO_STAGE= yes -MAN1= cdplay.1 -PLIST_FILES= bin/cdplay +PLIST_FILES= bin/cdplay \ + man/man1/cdplay.1.gz post-patch: ${REINPLACE_CMD} \ - -e 's/^CC=/CC?=/' \ -e 's/^OPTIMISE=.*$$/OPTIMISE=/'\ - -e 's/^CFLAGS=/CFLAGS+=/' \ - -e 's/^BINPATH=/BINPATH?=/' \ - -e 's/^MANPATH=/MANPATH?=/' \ ${WRKSRC}/Makefile pre-patch: @${GUNZIP_CMD} ${WRKSRC}/cdplay.1.gz do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/cdplay ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/cdplay.1 ${MAN1PREFIX}/man/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/cdplay ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/cdplay.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 .include <bsd.port.mk> |