Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jan 2014 17:58:47 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r339950 - head/audio/fdmf
Message-ID:  <201401161758.s0GHwlN4022030@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401161758.s0GHwlN4022030>