aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
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>