aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-13 22:56:04 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-13 22:56:04 +0800
commit1fccf764475b7940da0c012d362f5983f03816c6 (patch)
tree4c2ff848c0fd59032bb23a7e299bf1620af4f68e /audio
parent437e5e343d6d8fba0fb2891262622e4dc95c4c2a (diff)
downloadfreebsd-ports-gnome-1fccf764475b7940da0c012d362f5983f03816c6.tar.gz
freebsd-ports-gnome-1fccf764475b7940da0c012d362f5983f03816c6.tar.zst
freebsd-ports-gnome-1fccf764475b7940da0c012d362f5983f03816c6.zip
- Support staging
- Add LICENSE
Diffstat (limited to 'audio')
-rw-r--r--audio/id3mtag/Makefile27
1 files changed, 11 insertions, 16 deletions
diff --git a/audio/id3mtag/Makefile b/audio/id3mtag/Makefile
index d470d615b38e..ede589f6a69d 100644
--- a/audio/id3mtag/Makefile
+++ b/audio/id3mtag/Makefile
@@ -10,30 +10,25 @@ DISTNAME= id3-${PORTVERSION}
MAINTAINER= squell@alumina.nl
COMMENT= Mass tagging utility for audio files
-MAN1= id3.1
-PLIST_FILES= bin/id3
+LICENSE= BSD2CLAUSE
MAKEFILE= makefile
-NO_STAGE= yes
ALL_TARGET= build
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" \
CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
-PORTDOCS= *
+PLIST_FILES= bin/id3 man/man1/id3.1.gz
+PORTDOCS= README CHANGES
-OPTIONS_DEFINE= DOCS
-
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS
do-install:
- ${MKDIR} ${PREFIX}/bin ${MANPREFIX}/man/man1
- ${INSTALL_PROGRAM} ${WRKSRC}/id3 ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/id3.man ${MANPREFIX}/man/man1/id3.1
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/CHANGES ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCSDIR}
-. endif
+ ${MKDIR} ${PREFIX}/bin ${STAGEDIR}${MANPREFIX}/man/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/id3 ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/id3.man ${STAGEDIR}${MANPREFIX}/man/man1/id3.1
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
+.endfor
.include <bsd.port.mk>