Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Mar 2015 14:16:04 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r380926 - head/audio/gnustep-cdplayer
Message-ID:  <201503101416.t2AEG4sG045157@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



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