svn commit: r350227 - head/audio/enscribe

Baptiste Daroussin bapt at FreeBSD.org
Sat Apr 5 14:13:01 UTC 2014


Author: bapt
Date: Sat Apr  5 12:40:04 2014
New Revision: 350227
URL: http://svnweb.freebsd.org/changeset/ports/350227
QAT: https://qat.redports.org/buildarchive/r350227/

Log:
  Support stage

Modified:
  head/audio/enscribe/Makefile

Modified: head/audio/enscribe/Makefile
==============================================================================
--- head/audio/enscribe/Makefile	Sat Apr  5 12:35:19 2014	(r350226)
+++ head/audio/enscribe/Makefile	Sat Apr  5 12:40:04 2014	(r350227)
@@ -18,7 +18,6 @@ LIB_DEPENDS=	libsndfile.so:${PORTSDIR}/a
 		libfreetype.so:${PORTSDIR}/print/freetype2
 
 USES=		pkgconfig
-NO_STAGE=	yes
 
 LICENSE=	GPLv2
 
@@ -27,8 +26,6 @@ PLIST_FILES=	bin/enscribe
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
 do-build:
 	cd ${BUILD_WRKSRC}; ${CC} ${CFLAGS} \
 		`pkg-config --cflags --libs sndfile freetype2` \
@@ -37,10 +34,8 @@ do-build:
 		-o enscribe enscribe.c
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/enscribe ${PREFIX}/bin
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/enscribe ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list