svn commit: r350388 - head/audio/funktrackergold

Baptiste Daroussin bapt at FreeBSD.org
Sun Apr 6 17:41:17 UTC 2014


Author: bapt
Date: Sun Apr  6 17:41:16 2014
New Revision: 350388
URL: http://svnweb.freebsd.org/changeset/ports/350388
QAT: https://qat.redports.org/buildarchive/r350388/

Log:
  Support stage
  Use compiler:nestedfct to choose the right compiler instead of USE_GCC

Modified:
  head/audio/funktrackergold/Makefile

Modified: head/audio/funktrackergold/Makefile
==============================================================================
--- head/audio/funktrackergold/Makefile	Sun Apr  6 17:34:47 2014	(r350387)
+++ head/audio/funktrackergold/Makefile	Sun Apr  6 17:41:16 2014	(r350388)
@@ -11,12 +11,13 @@ DISTNAME=	funktrackergold-1.5-2
 EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	sylvio at FreeBSD.org
-COMMENT=	A curses MOD/FNK music tracker
+COMMENT=	Curses MOD/FNK music tracker
+
+OPTIONS_DEFINE=	DOCS
 
 LICENSE=	GPLv2
 
-USE_GCC=	any
-NO_STAGE=	yes
+USES=		compiler:nestedfct
 
 WRKSRC=		${WRKDIR}/funkgold
 MAKE_ARGS=	EXTRA_CFLAGS="${PTHREAD_CFLAGS}" \
@@ -27,15 +28,11 @@ PLIST_FILES=	bin/funkgold
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/funkgold ${PREFIX}/bin
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
+	${INSTALL_PROGRAM} ${WRKSRC}/funkgold ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for docs in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${docs} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list