aboutsummaryrefslogtreecommitdiffstats
path: root/audio/toolame
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-01-05 08:30:21 +0800
committerbapt <bapt@FreeBSD.org>2014-01-05 08:30:21 +0800
commit340034ff9a78e8be9e8e880ef67f4bfe672b12b5 (patch)
tree52d705ed4c5f2043f6553501649612943921d210 /audio/toolame
parent902acb7c918243010f01a884038ce56ac0e1ceff (diff)
downloadfreebsd-ports-gnome-340034ff9a78e8be9e8e880ef67f4bfe672b12b5.tar.gz
freebsd-ports-gnome-340034ff9a78e8be9e8e880ef67f4bfe672b12b5.tar.zst
freebsd-ports-gnome-340034ff9a78e8be9e8e880ef67f4bfe672b12b5.zip
Support stage
Diffstat (limited to 'audio/toolame')
-rw-r--r--audio/toolame/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/audio/toolame/Makefile b/audio/toolame/Makefile
index a0f9cd7dad7c..578d39d99bc4 100644
--- a/audio/toolame/Makefile
+++ b/audio/toolame/Makefile
@@ -12,10 +12,11 @@ EXTRACT_SUFX= .tgz
MAINTAINER= sylvio@FreeBSD.org
COMMENT= Optimized mpeg 1/2 layer 2 audio encoder
+OPTIONS_DEFINE= DOCS
+
LICENSE= LGPL21
USES= gmake
-NO_STAGE= yes
ALL_TARGET= ${PORTNAME}
MAKE_ARGS= CC="${CC}" TWEAKS="${CFLAGS}" ARCH="" PG="" OPTIM=""
USE_CSTD= gnu89
@@ -23,15 +24,11 @@ USE_CSTD= gnu89
PLIST_FILES= bin/toolame
PORTDOCS= FUTURE HISTORY LGPL.txt README
-.include <bsd.port.options.mk>
-
do-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for docs in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${docs} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
- @${INSTALL_PROGRAM} ${WRKSRC}/toolame ${PREFIX}/bin
+ @${INSTALL_PROGRAM} ${WRKSRC}/toolame ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>