svn commit: r425623 - head/audio/mp3unicode

Dmitry Marakasov amdmi3 at FreeBSD.org
Mon Nov 7 14:25:34 UTC 2016


Author: amdmi3
Date: Mon Nov  7 14:25:33 2016
New Revision: 425623
URL: https://svnweb.freebsd.org/changeset/ports/425623

Log:
  - Fix LICENSE handling

Modified:
  head/audio/mp3unicode/Makefile

Modified: head/audio/mp3unicode/Makefile
==============================================================================
--- head/audio/mp3unicode/Makefile	Mon Nov  7 14:14:58 2016	(r425622)
+++ head/audio/mp3unicode/Makefile	Mon Nov  7 14:25:33 2016	(r425623)
@@ -8,6 +8,9 @@ MASTER_SITES=	http://github.com/download
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	ID3 tags charset converter
 
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 LIB_DEPENDS=	libtag.so:audio/taglib
 
 USES=		iconv pkgconfig tar:bzip2
@@ -17,8 +20,11 @@ CONFIGURE_ENV=	ICONV_CFLAGS="-I${LOCALBA
 
 PLIST_FILES=	bin/mp3unicode \
 		man/man1/mp3unicode.1.gz
-PORTDOCS=	COPYING README
+PORTDOCS=	README
 
 OPTIONS_DEFINE=	DOCS
 
+post-patch:
+	@${REINPLACE_CMD} -e '/dist_doc_DATA/ s|COPYING||' ${WRKSRC}/Makefile.*
+
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list