summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-03-07 11:13:17 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-03-07 11:13:17 +0000
commitfef0650972455803e36ff2de855c13f2e8583d9d (patch)
tree04ffb44f4fc01c25e3bec91ea8cac0a764d4fb5e /audio
parent- Switch from USE_GCC to USES=compiler:nestedfct (diff)
Support stage
Global modernisation
Notes
Notes: svn path=/head/; revision=347361
Diffstat (limited to 'audio')
-rw-r--r--audio/linux-neroaaccodec/Makefile16
1 files changed, 5 insertions, 11 deletions
diff --git a/audio/linux-neroaaccodec/Makefile b/audio/linux-neroaaccodec/Makefile
index 3181d98d0ffe..e9daa2ade2b8 100644
--- a/audio/linux-neroaaccodec/Makefile
+++ b/audio/linux-neroaaccodec/Makefile
@@ -7,14 +7,13 @@ CATEGORIES= audio multimedia linux
MASTER_SITES= ftp://ftp6.nero.com/tools/
PKGNAMEPREFIX= linux-
DISTNAME= NeroAACCodec-${PORTVERSION}
+EXTRACT_SUFX= .zip
MAINTAINER= yaizawa@2004.jukuin.keio.ac.jp
COMMENT= Nero AAC reference quality MPEG-4 and 3GPP audio codec
-USE_ZIP= yes
-NO_STAGE= yes
+USES= dos2unix
USE_LINUX= yes
-USE_DOS2UNIX= yes
DOS2UNIX_REGEX= .*\.txt
ONLY_FOR_ARCHS= i386 amd64
NO_BUILD= yes
@@ -32,18 +31,13 @@ PORTDOCS= NeroAAC_tut.pdf \
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
do-install:
.for f in ${PLIST_FILES}
- ${INSTALL_PROGRAM} ${WRKSRC}/linux/${f:T} ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/linux/${f:T} ${STAGEDIR}${PREFIX}/bin
.endfor
-
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
.endfor
-.endif
.include <bsd.port.mk>