aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-01-05 00:30:21 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-01-05 00:30:21 +0000
commitf4046df5f1448c5bd2e2d318b83616c14ff9296f (patch)
tree52d705ed4c5f2043f6553501649612943921d210 /audio
parentd78466e705ced624c8db16e0ba6754ca65289b66 (diff)
downloadports-f4046df5f1448c5bd2e2d318b83616c14ff9296f.tar.gz
ports-f4046df5f1448c5bd2e2d318b83616c14ff9296f.zip
Notes
Diffstat (limited to 'audio')
-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>