svn commit: r380926 - head/audio/gnustep-cdplayer

Dmitry Marakasov amdmi3 at FreeBSD.org
Tue Mar 10 14:16:05 UTC 2015


Author: amdmi3
Date: Tue Mar 10 14:16:04 2015
New Revision: 380926
URL: https://svnweb.freebsd.org/changeset/ports/380926
QAT: https://qat.redports.org/buildarchive/r380926/

Log:
  - Pet portlint
  - Clarify LICENSE
  - Add LICENSE_FILE
  - Strip binaries

Modified:
  head/audio/gnustep-cdplayer/Makefile

Modified: head/audio/gnustep-cdplayer/Makefile
==============================================================================
--- head/audio/gnustep-cdplayer/Makefile	Tue Mar 10 14:16:02 2015	(r380925)
+++ head/audio/gnustep-cdplayer/Makefile	Tue Mar 10 14:16:04 2015	(r380926)
@@ -2,7 +2,7 @@
 
 PORTNAME=	cdplayer
 PORTVERSION=	0.5.1
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	audio gnustep
 MASTER_SITES=	SF/gsburn/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 PKGNAMEPREFIX=	gnustep-
@@ -10,9 +10,10 @@ PKGNAMEPREFIX=	gnustep-
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	GNUstep CD player with CDDB support
 
-LIB_DEPENDS+=	libcdaudio.so:${PORTSDIR}/audio/libcdaudio
+LICENSE=	GPLv2 # or later
+LICENSE_FILE=	${WRKSRC}/COPYING
 
-LICENSE=	GPLv2
+LIB_DEPENDS=	libcdaudio.so:${PORTSDIR}/audio/libcdaudio
 
 USES=		tar:bzip2
 USE_GNUSTEP=	yes
@@ -28,4 +29,10 @@ MAKE_ENV+=	GNUSTEP_INSTALLATION_DIR=${GN
 CDDB_BUNDLE_PORT?=	audio/cddb-bundle
 PREFERENCES_PORT?=	deskutils/preferences
 
+post-install:
+	${STRIP_CMD} \
+		${STAGEDIR}${PREFIX}/GNUstep/Local/Library/Bundles/AudioCD.bundle/AudioCD \
+		${STAGEDIR}${PREFIX}/GNUstep/Local/Library/Bundles/AudioCD.prefs/AudioCD \
+		${STAGEDIR}${PREFIX}/GNUstep/Local/Applications/CDPlayer.app/CDPlayer
+
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list