Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Dec 2016 17:44:48 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r429931 - head/audio/mp3info
Message-ID:  <201612291744.uBTHimKv020195@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Thu Dec 29 17:44:48 2016
New Revision: 429931
URL: https://svnweb.freebsd.org/changeset/ports/429931

Log:
  - Fix PORTVERSION
  - Fix LICENSE
  - Add LICENSE_FILE
  - Convert to options target helper
  
  PR:		215653
  Submitted by:	amdmi3

Modified:
  head/audio/mp3info/Makefile

Modified: head/audio/mp3info/Makefile
==============================================================================
--- head/audio/mp3info/Makefile	Thu Dec 29 17:35:04 2016	(r429930)
+++ head/audio/mp3info/Makefile	Thu Dec 29 17:44:48 2016	(r429931)
@@ -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>



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