aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-11-25 03:13:44 +0800
committerbapt <bapt@FreeBSD.org>2013-11-25 03:13:44 +0800
commitc7ed1e356a2e68d512f26d6d15d3a217b5392e62 (patch)
tree0688a1eda3e52f942bfdd31c0131de389209b61c /audio
parent5863227ff4be0c22398d03704963cdf25a28e38e (diff)
downloadfreebsd-ports-gnome-c7ed1e356a2e68d512f26d6d15d3a217b5392e62.tar.gz
freebsd-ports-gnome-c7ed1e356a2e68d512f26d6d15d3a217b5392e62.tar.zst
freebsd-ports-gnome-c7ed1e356a2e68d512f26d6d15d3a217b5392e62.zip
Support staging
Remove useless patching
Diffstat (limited to 'audio')
-rw-r--r--audio/cdplay/Makefile16
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>