Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jan 2015 06:56:45 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r377988 - head/graphics/price
Message-ID:  <201501270656.t0R6ujKP058284@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Tue Jan 27 06:56:44 2015
New Revision: 377988
URL: https://svnweb.freebsd.org/changeset/ports/377988
QAT: https://qat.redports.org/buildarchive/r377988/

Log:
  Add LICENSE_FILE, Add desktop-file-utils to USES.
  
  PR:		196675
  Submitted by:	lightside <lightside at gmx.com>

Deleted:
  head/graphics/price/pkg-plist
Modified:
  head/graphics/price/Makefile
  head/graphics/price/pkg-descr

Modified: head/graphics/price/Makefile
==============================================================================
--- head/graphics/price/Makefile	Tue Jan 27 06:32:33 2015	(r377987)
+++ head/graphics/price/Makefile	Tue Jan 27 06:56:44 2015	(r377988)
@@ -3,6 +3,7 @@
 
 PORTNAME=	price
 PORTVERSION=	1.3.0
+PORTREVISION=	1
 CATEGORIES=	graphics gnustep
 MASTER_SITES=	SF/${PORTNAME}/${PORTVERSION}
 DISTNAME=	PRICE-${PORTVERSION}
@@ -11,12 +12,27 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Image filtering and manipulation using GNUstep
 
 LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		desktop-file-utils
 
 USE_GNUSTEP=	yes
 USE_GNUSTEP_BACK=	yes
 USE_GNUSTEP_BUILD=	yes
 USE_GNUSTEP_INSTALL=	yes
 
-WRKSRC=		${WRKDIR}/PRICE-${PORTVERSION}
+DATADIR=	${GNUSTEP_LOCAL_APPS}/PRICE.app
+PORTDATA=	*
+PLIST_FILES=	${GNUSTEP_LOCAL_TOOLS}/PRICE \
+		share/applications/PRICE.desktop
+
+post-build:
+	${SED} -i '' -e '/^Categories/s/=/&Graphics;/' \
+ 		${WRKSRC}/PRICE.app/Resources/PRICE.desktop
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${DATADIR}/PRICE
+	${LN} -sf ${DATADIR}/Resources/PRICE.desktop \
+		${STAGEDIR}${PREFIX}/share/applications
 
 .include <bsd.port.mk>

Modified: head/graphics/price/pkg-descr
==============================================================================
--- head/graphics/price/pkg-descr	Tue Jan 27 06:32:33 2015	(r377987)
+++ head/graphics/price/pkg-descr	Tue Jan 27 06:56:44 2015	(r377988)
@@ -1,3 +1,5 @@
+Precision Raster Image Convolution Engine.
+
 PRICE can open several image file formats and apply high-quality filters
 and other enhancements.
 



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