Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Apr 2014 17:41:17 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r350388 - head/audio/funktrackergold
Message-ID:  <201404061741.s36HfH8p004924@svn.freebsd.org>

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



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