aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2016-12-30 01:44:48 +0800
committersunpoet <sunpoet@FreeBSD.org>2016-12-30 01:44:48 +0800
commitabbd4d9292c4d28949dd07ce3fa3c3801d383686 (patch)
tree031350b19fdc023f5c648079148447c0bd245323
parent57b9beed7e5c1ef0ba8da5687bf1c722790f833c (diff)
downloadfreebsd-ports-gnome-abbd4d9292c4d28949dd07ce3fa3c3801d383686.tar.gz
freebsd-ports-gnome-abbd4d9292c4d28949dd07ce3fa3c3801d383686.tar.zst
freebsd-ports-gnome-abbd4d9292c4d28949dd07ce3fa3c3801d383686.zip
- Fix PORTVERSION
- Fix LICENSE - Add LICENSE_FILE - Convert to options target helper PR: 215653 Submitted by: amdmi3
-rw-r--r--audio/mp3info/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/audio/mp3info/Makefile b/audio/mp3info/Makefile
index 325c6c66021b..75d86c5608a0 100644
--- a/audio/mp3info/Makefile
+++ b/audio/mp3info/Makefile
@@ -2,15 +2,15 @@
# $FreeBSD$
PORTNAME= mp3info
-PORTVERSION= 0.8.5
-DISTVERSIONSUFFIX= a
+PORTVERSION= 0.8.5a
CATEGORIES= audio
MASTER_SITES= SUNSITE/apps/sound/mp3-utils/mp3info
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= MP3 technical info viewer and ID3 1.x tag editor
-LICENSE= GPLv2
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/LICENSE
OPTIONS_DEFINE= GTK2 DOCS
GTK2_DESC= Enable to have the gmp3info
@@ -27,10 +27,14 @@ GTK2_USE= GNOME=gtk20
GTK2_USES= pkgconfig
do-install:
- ${MKDIR} ${STAGEDIR}${DOCSDIR}/
${INSTALL_PROGRAM} ${WRKSRC}/mp3info ${STAGEDIR}${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/mp3info.1 ${STAGEDIR}${PREFIX}/man/man1/
- -${INSTALL_PROGRAM} ${WRKSRC}/gmp3info ${STAGEDIR}${PREFIX}/bin/
+
+do-install-GTK2-on:
+ ${INSTALL_PROGRAM} ${WRKSRC}/gmp3info ${STAGEDIR}${PREFIX}/bin/
+
+do-install-DOCS-on:
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>