aboutsummaryrefslogtreecommitdiffstats
path: root/audio/toolame
diff options
context:
space:
mode:
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>