svn commit: r401167 - head/audio/cutmp3

Dmitry Marakasov amdmi3 at FreeBSD.org
Mon Nov 9 20:48:27 UTC 2015


Author: amdmi3
Date: Mon Nov  9 20:48:26 2015
New Revision: 401167
URL: https://svnweb.freebsd.org/changeset/ports/401167

Log:
  - Add LICENSE
  - Switch to options helpers

Modified:
  head/audio/cutmp3/Makefile

Modified: head/audio/cutmp3/Makefile
==============================================================================
--- head/audio/cutmp3/Makefile	Mon Nov  9 20:48:17 2015	(r401166)
+++ head/audio/cutmp3/Makefile	Mon Nov  9 20:48:26 2015	(r401167)
@@ -10,6 +10,9 @@ MASTER_SITES=	http://www.puchalla-online
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Small and fast command line MP3 editor
 
+LICENSE=	GPLv2 # or later
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 USES=		tar:bzip2 readline
 
 PLIST_FILES=	bin/cutmp3 man/man1/cutmp3.1.gz
@@ -19,8 +22,10 @@ PORTDOCS=	README README.timetable USAGE
 OPTIONS_DEFINE=	DOCS
 
 post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+
+post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
-	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list