svn commit: r352547 - head/graphics/synaesthesia
Pawel Pekala
pawel at FreeBSD.org
Mon Apr 28 19:39:24 UTC 2014
Author: pawel
Date: Mon Apr 28 19:39:23 2014
New Revision: 352547
URL: http://svnweb.freebsd.org/changeset/ports/352547
QAT: https://qat.redports.org/buildarchive/r352547/
Log:
Add staging support
Modified:
head/graphics/synaesthesia/Makefile
Modified: head/graphics/synaesthesia/Makefile
==============================================================================
--- head/graphics/synaesthesia/Makefile Mon Apr 28 19:35:04 2014 (r352546)
+++ head/graphics/synaesthesia/Makefile Mon Apr 28 19:39:23 2014 (r352547)
@@ -12,7 +12,7 @@ COMMENT= Real-time graphical music repre
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>
More information about the svn-ports-all
mailing list