svn commit: r402207 - head/audio/cmp3

Dmitry Marakasov amdmi3 at FreeBSD.org
Sun Nov 22 00:39:59 UTC 2015


Author: amdmi3
Date: Sun Nov 22 00:39:57 2015
New Revision: 402207
URL: https://svnweb.freebsd.org/changeset/ports/402207

Log:
  - Add LICENSE_FILE
  - Pet portlint
  - Switch to options helpers

Modified:
  head/audio/cmp3/Makefile

Modified: head/audio/cmp3/Makefile
==============================================================================
--- head/audio/cmp3/Makefile	Sat Nov 21 23:04:40 2015	(r402206)
+++ head/audio/cmp3/Makefile	Sun Nov 22 00:39:57 2015	(r402207)
@@ -11,13 +11,11 @@ DISTNAME=	${PORTNAME}-${PORTVERSION:S/.p
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Ncurses based frontend to mpg123
 
-OPTIONS_DEFINE=	DOCS VORBIS
-OPTIONS_DEFAULT=	VORBIS
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 RUN_DEPENDS=	mpg123:${PORTSDIR}/audio/mpg123
 
-LICENSE=	GPLv2
-
 WRKSRC=		${WRKDIR}/${PORTNAME}-kenrevs
 
 USES=		gmake ncurses
@@ -27,9 +25,12 @@ MAKE_ARGS=	install_directory=${STAGEDIR}
 PORTDOCS=	README sample.cmp3rc
 PLIST_FILES=	bin/cmp3 bin/rnmp3
 
+OPTIONS_DEFINE=	DOCS VORBIS
+OPTIONS_DEFAULT=	VORBIS
+
 VORBIS_RUN_DEPENDS=	ogg123:${PORTSDIR}/audio/vorbis-tools
 
-post-install:
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for docs in ${PORTDOCS}
 	${INSTALL_DATA} ${WRKSRC}/${docs} ${STAGEDIR}${DOCSDIR}


More information about the svn-ports-all mailing list