summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-04-28 19:39:23 +0000
committerpawel <pawel@FreeBSD.org>2014-04-28 19:39:23 +0000
commit8f00ee1fbc6c0331d1b89ff38ea6c914ff07b81e (patch)
tree4135a8f6b4b0b7697081bcf52921abf96783e5bc
parent8dc1ba6d9af175cfe686b96ff38988347aab037d (diff)
downloadFreeBSD-ports-8f00ee1fbc6c0331d1b89ff38ea6c914ff07b81e.zip
FreeBSD-ports-8f00ee1fbc6c0331d1b89ff38ea6c914ff07b81e.tar.gz
Add staging support
-rw-r--r--graphics/synaesthesia/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/graphics/synaesthesia/Makefile b/graphics/synaesthesia/Makefile
index 9f47e2e..8e35d0e 100644
--- a/graphics/synaesthesia/Makefile
+++ b/graphics/synaesthesia/Makefile
@@ -12,7 +12,7 @@ COMMENT= Real-time graphical music representation program
LICENSE= GPLv2
-USE_GMAKE= yes
+USES= gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-sdl-prefix=${LOCALBASE}
USE_SDL= sdl
@@ -22,19 +22,13 @@ PLIST_FILES= bin/${PORTNAME}
OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
post-patch:
@${REINPLACE_CMD} -e 's,stdint\.h,inttypes.h,' ${WRKSRC}/*.c?
@${REINPLACE_CMD} -e 's,int16_t,u_int16_t,' ${WRKSRC}/sound.cc
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
OpenPOWER on IntegriCloud