aboutsummaryrefslogtreecommitdiff
path: root/graphics/synaesthesia
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-04-28 19:39:23 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-04-28 19:39:23 +0000
commit0cf893f05c587e33e45acce23f86e0636812915a (patch)
tree4135a8f6b4b0b7697081bcf52921abf96783e5bc /graphics/synaesthesia
parent35e8dbcb2c986c0340abdc291a061608939f602d (diff)
downloadports-0cf893f05c587e33e45acce23f86e0636812915a.tar.gz
ports-0cf893f05c587e33e45acce23f86e0636812915a.zip
Add staging support
Notes
Notes: svn path=/head/; revision=352547
Diffstat (limited to 'graphics/synaesthesia')
-rw-r--r--graphics/synaesthesia/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/graphics/synaesthesia/Makefile b/graphics/synaesthesia/Makefile
index 9f47e2e6d218..8e35d0e01adc 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>