svn commit: r339950 - head/audio/fdmf
Antoine Brodin
antoine at FreeBSD.org
Thu Jan 16 17:58:47 UTC 2014
Author: antoine
Date: Thu Jan 16 17:58:47 2014
New Revision: 339950
URL: http://svnweb.freebsd.org/changeset/ports/339950
QAT: https://qat.redports.org/buildarchive/r339950/
Log:
- Stage support
- Shebangfix scripts
- Bump PORTREVISION
Modified:
head/audio/fdmf/Makefile
Modified: head/audio/fdmf/Makefile
==============================================================================
--- head/audio/fdmf/Makefile Thu Jan 16 17:47:57 2014 (r339949)
+++ head/audio/fdmf/Makefile Thu Jan 16 17:58:47 2014 (r339950)
@@ -3,7 +3,7 @@
PORTNAME= fdmf
DISTVERSION= 0.0.9s
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= audio
MASTER_SITES= http://w140.com/audio/ CENKES
@@ -18,8 +18,8 @@ RUN_DEPENDS= mplayer:${PORTSDIR}/multime
ogg123:${PORTSDIR}/audio/vorbis-tools \
p5-GDBM>=0:${PORTSDIR}/databases/p5-GDBM
-USES= perl5
-NO_STAGE= yes
+USES= perl5 shebangfix
+SHEBANG_FILES= ${SCRS}
CFLAGS= -I${LOCALBASE}/include -L. -L${LOCALBASE}/lib
MAKE_ENV= VPATH=common
PORTDOCS= README
@@ -27,17 +27,15 @@ BINS= sonic_reducer vector_pairs
SCRS= ${PORTNAME} ${PORTNAME}_bench cleanup_dups optparam
PLIST_FILES= ${BINS:S,^,bin/,} ${SCRS:S,^,bin/,}
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -Ee '/^(CFLAGS|CC) =/s|.*||' -e 's|common/||g' ${WRKSRC}/Makefile
do-install:
- @${INSTALL_PROGRAM} ${BINS:S,^,${WRKSRC}/,} ${PREFIX}/bin/
- @${INSTALL_SCRIPT} ${SCRS:S,^,${WRKSRC}/,} ${PREFIX}/bin/
-.if ${PORT_OPTIONS:MDOCS}
- @${INSTALL} -d ${DOCSDIR}/
- @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
-.endif
+ ${INSTALL_PROGRAM} ${BINS:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${SCRS:S,^,${WRKSRC}/,} ${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