aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-09 05:23:47 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-09 05:23:47 +0800
commit60e0b43b790fd6921780ae510bdb26b3f2188bf0 (patch)
treea72c36977b2c76119fa314b34d87aedf0bdf2af8
parentce2227845c8ec5a70034ce220a82d39ead5ad9e4 (diff)
downloadfreebsd-ports-gnome-60e0b43b790fd6921780ae510bdb26b3f2188bf0.tar.gz
freebsd-ports-gnome-60e0b43b790fd6921780ae510bdb26b3f2188bf0.tar.zst
freebsd-ports-gnome-60e0b43b790fd6921780ae510bdb26b3f2188bf0.zip
Support staging.
-rw-r--r--audio/fcplay/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/audio/fcplay/Makefile b/audio/fcplay/Makefile
index 1b3938e2e121..1cb3c16a563a 100644
--- a/audio/fcplay/Makefile
+++ b/audio/fcplay/Makefile
@@ -12,17 +12,18 @@ EXTRACT_SUFX= .tgz
MAINTAINER= sylvio@FreeBSD.org
COMMENT= Future Composer Reference Player
-BUILD_DEPENDS= ${LOCALBASE}/include/sidplay/compconf.h:${PORTSDIR}/audio/libsidplay
-
LICENSE= GPLv2
+BUILD_DEPENDS= ${LOCALBASE}/include/sidplay/compconf.h:${PORTSDIR}/audio/libsidplay
+
USES= gmake
-NO_STAGE= yes
GNU_CONFIGURE= yes
CXXFLAGS+= -I${LOCALBASE}/include
PORTDOCS= ABOUT POINTER
PLIST_FILES= bin/fcplay
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
@@ -33,10 +34,8 @@ post-patch:
.endfor
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/fcplay ${PREFIX}/bin
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/fcplay ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>