aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2010-09-22 12:40:02 +0800
committerpgollucci <pgollucci@FreeBSD.org>2010-09-22 12:40:02 +0800
commitfa55ac3fe200e81164e1659b53510a01a5c36cc2 (patch)
tree5ac2e53c3e8ad2d6cb28f0d6b94fddbbe8e09e53 /audio
parentb6ee8f39cbf95550ed125e15b07be6063c0e45c9 (diff)
downloadfreebsd-ports-graphics-fa55ac3fe200e81164e1659b53510a01a5c36cc2.tar.gz
freebsd-ports-graphics-fa55ac3fe200e81164e1659b53510a01a5c36cc2.tar.zst
freebsd-ports-graphics-fa55ac3fe200e81164e1659b53510a01a5c36cc2.zip
Part 2/2:
- shorten do-install target - mark NO_WRKSUBDIR - fix pkg-descr and COMMENT - use more descriptive RESTRICTED from ports/148379 - use PORTDOCS from ports/148379 - use DOS2UNIX to remove ^M from .txt docs PR: ports/145094 Submitted by: Anonymous <swell.k@gmail.com> Approved by: maintainer timeout (yaizawa@2004.jukuin.keio.ac.jp ; ~6 months)
Diffstat (limited to 'audio')
-rw-r--r--audio/linux-neroaaccodec/Makefile34
-rw-r--r--audio/linux-neroaaccodec/pkg-descr6
2 files changed, 20 insertions, 20 deletions
diff --git a/audio/linux-neroaaccodec/Makefile b/audio/linux-neroaaccodec/Makefile
index 27d0191966e..6e75d3555c4 100644
--- a/audio/linux-neroaaccodec/Makefile
+++ b/audio/linux-neroaaccodec/Makefile
@@ -13,36 +13,36 @@ PKGNAMEPREFIX= linux-
DISTNAME= NeroAACCodec-${PORTVERSION}
MAINTAINER= yaizawa@2004.jukuin.keio.ac.jp
-COMMENT= Nero Digital Audio Reference MPEG-4 & 3GPP Audio Encoder
+COMMENT= Nero AAC reference quality MPEG-4 and 3GPP audio codec
USE_ZIP= yes
USE_LINUX= yes
+USE_DOS2UNIX= yes
+DOS2UNIX_REGEX= .*\.txt
ONLY_FOR_ARCHS= i386 amd64
NO_BUILD= yes
-WRKSRC= ${WRKDIR}
-RESTRICTED= forbidden by license considerations
+NO_WRKSUBDIR= yes
+RESTRICTED= Solely for personal non-commercial and/or technology-evaluation purposes. No reproduction and/or distribution permitted.
PLIST_FILES= bin/neroAacDec \
bin/neroAacEnc \
bin/neroAacTag
-.if !defined(NOPORTDOCS)
-PLIST_DIRS= ${DOCSDIR_REL}
-PLIST_FILES+= ${DOCSDIR_REL}/changelog.txt \
- ${DOCSDIR_REL}/license.txt \
- ${DOCSDIR_REL}/readme.txt \
- ${DOCSDIR_REL}/NeroAAC_tut.pdf
-.endif
+
+PORTDOCS= NeroAAC_tut.pdf \
+ changelog.txt \
+ license.txt \
+ readme.txt
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/linux/neroAacDec ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/linux/neroAacEnc ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/linux/neroAacTag ${PREFIX}/bin
+.for f in ${PLIST_FILES}
+ ${INSTALL_PROGRAM} ${WRKSRC}/linux/${f:T} ${PREFIX}/bin
+.endfor
+
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/changelog.txt ${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/license.txt ${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/readme.txt ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/NeroAAC_tut.pdf ${DOCSDIR}
+.for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
+.endfor
.endif
.include <bsd.port.mk>
diff --git a/audio/linux-neroaaccodec/pkg-descr b/audio/linux-neroaaccodec/pkg-descr
index b730d4bafc5..523f452740c 100644
--- a/audio/linux-neroaaccodec/pkg-descr
+++ b/audio/linux-neroaaccodec/pkg-descr
@@ -1,3 +1,3 @@
-Nero Digital Audio Reference MPEG-4 & 3GPP Audio Encoder.
-
-WWW: http://www.nero7.com/nerodigital/jpn/down-ndaudio.php
+Nero AAC reference quality MPEG-4 and 3GPP audio codec
+
+WWW: http://www.nero.com/eng/technologies-aac-codec.html