From c7ed1e356a2e68d512f26d6d15d3a217b5392e62 Mon Sep 17 00:00:00 2001 From: bapt Date: Sun, 24 Nov 2013 19:13:44 +0000 Subject: Support staging Remove useless patching --- audio/cdplay/Makefile | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'audio') 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 -- cgit