Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Feb 2014 14:56:05 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r344125 - head/audio/id3mtag
Message-ID:  <201402131456.s1DEu5Bp013024@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Thu Feb 13 14:56:04 2014
New Revision: 344125
URL: http://svnweb.freebsd.org/changeset/ports/344125
QAT: https://qat.redports.org/buildarchive/r344125/

Log:
  - Support staging
  - Add LICENSE

Modified:
  head/audio/id3mtag/Makefile

Modified: head/audio/id3mtag/Makefile
==============================================================================
--- head/audio/id3mtag/Makefile	Thu Feb 13 14:54:31 2014	(r344124)
+++ head/audio/id3mtag/Makefile	Thu Feb 13 14:56:04 2014	(r344125)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402131456.s1DEu5Bp013024>