From 2fa2af945b1b86d19d2d3f0583e198e4c878e67f Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Thu, 13 Feb 2014 14:56:04 +0000 Subject: [PATCH] - Support staging - Add LICENSE --- audio/id3mtag/Makefile | 27 +++++++++++---------------- 1 file 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 +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