Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Nov 2013 19:07:38 +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: r334766 - head/audio/btc
Message-ID:  <201311241907.rAOJ7cba020915@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sun Nov 24 19:07:38 2013
New Revision: 334766
URL: http://svnweb.freebsd.org/changeset/ports/334766

Log:
  Support staging

Modified:
  head/audio/btc/Makefile

Modified: head/audio/btc/Makefile
==============================================================================
--- head/audio/btc/Makefile	Sun Nov 24 19:01:35 2013	(r334765)
+++ head/audio/btc/Makefile	Sun Nov 24 19:07:38 2013	(r334766)
@@ -12,22 +12,17 @@ COMMENT=	Tool for creating bass tablatur
 
 WRKSRC=		${WRKDIR}
 
-NO_STAGE=	yes
 PLIST_FILES=	bin/btc
 PORTDOCS=	btc.doc
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
 do-build:
 	${CC} ${CFLAGS} -o ${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.c
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.doc ${DOCSDIR}
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.doc ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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