summaryrefslogtreecommitdiff
path: root/audio/id3mtag
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-13 14:56:04 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-13 14:56:04 +0000
commit2fa2af945b1b86d19d2d3f0583e198e4c878e67f (patch)
tree4c2ff848c0fd59032bb23a7e299bf1620af4f68e /audio/id3mtag
parent- Convert USE_SCONS to USES (diff)
- Support staging
- Add LICENSE
Notes
Notes: svn path=/head/; revision=344125
Diffstat (limited to 'audio/id3mtag')
-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>