aboutsummaryrefslogtreecommitdiff
path: root/graphics/price
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2015-01-27 06:56:44 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2015-01-27 06:56:44 +0000
commitb24bf55055008bdee19544fc3ecefef53c8e93a2 (patch)
tree9e04b0e5da1f266d6c714232e2b1c5a398bc09c9 /graphics/price
parent5cedef19bd5efead1750e881510a6dc32a0377fb (diff)
downloadports-b24bf55055008bdee19544fc3ecefef53c8e93a2.tar.gz
ports-b24bf55055008bdee19544fc3ecefef53c8e93a2.zip
Notes
Diffstat (limited to 'graphics/price')
-rw-r--r--graphics/price/Makefile18
-rw-r--r--graphics/price/pkg-descr2
-rw-r--r--graphics/price/pkg-plist56
3 files changed, 19 insertions, 57 deletions
diff --git a/graphics/price/Makefile b/graphics/price/Makefile
index 75ac2e5b459a..32b1d939d3c8 100644
--- a/graphics/price/Makefile
+++ b/graphics/price/Makefile
@@ -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>
diff --git a/graphics/price/pkg-descr b/graphics/price/pkg-descr
index d1ac9b8a5dfa..6b1b37838419 100644
--- a/graphics/price/pkg-descr
+++ b/graphics/price/pkg-descr
@@ -1,3 +1,5 @@
+Precision Raster Image Convolution Engine.
+
PRICE can open several image file formats and apply high-quality filters
and other enhancements.
diff --git a/graphics/price/pkg-plist b/graphics/price/pkg-plist
deleted file mode 100644
index c91475250244..000000000000
--- a/graphics/price/pkg-plist
+++ /dev/null
@@ -1,56 +0,0 @@
-GNUstep/Local/Applications/PRICE.app/PRICE
-GNUstep/Local/Applications/PRICE.app/Resources/BriCon.gorm/data.classes
-GNUstep/Local/Applications/PRICE.app/Resources/BriCon.gorm/data.info
-GNUstep/Local/Applications/PRICE.app/Resources/BriCon.gorm/objects.gorm
-GNUstep/Local/Applications/PRICE.app/Resources/Convolve55.gorm/data.classes
-GNUstep/Local/Applications/PRICE.app/Resources/Convolve55.gorm/data.info
-GNUstep/Local/Applications/PRICE.app/Resources/Convolve55.gorm/objects.gorm
-GNUstep/Local/Applications/PRICE.app/Resources/Crop.gorm/data.classes
-GNUstep/Local/Applications/PRICE.app/Resources/Crop.gorm/data.info
-GNUstep/Local/Applications/PRICE.app/Resources/Crop.gorm/objects.gorm
-GNUstep/Local/Applications/PRICE.app/Resources/CumulHistogram.gorm/data.classes
-GNUstep/Local/Applications/PRICE.app/Resources/CumulHistogram.gorm/objects.gorm
-GNUstep/Local/Applications/PRICE.app/Resources/Curves.gorm/data.classes
-GNUstep/Local/Applications/PRICE.app/Resources/Curves.gorm/data.info
-GNUstep/Local/Applications/PRICE.app/Resources/Curves.gorm/objects.gorm
-GNUstep/Local/Applications/PRICE.app/Resources/CustTraceEdges.gorm/data.classes
-GNUstep/Local/Applications/PRICE.app/Resources/CustTraceEdges.gorm/data.info
-GNUstep/Local/Applications/PRICE.app/Resources/CustTraceEdges.gorm/objects.gorm
-GNUstep/Local/Applications/PRICE.app/Resources/DFTHighPass.gorm/data.classes
-GNUstep/Local/Applications/PRICE.app/Resources/DFTHighPass.gorm/objects.gorm
-GNUstep/Local/Applications/PRICE.app/Resources/DFTLowPass.gorm/data.classes
-GNUstep/Local/Applications/PRICE.app/Resources/DFTLowPass.gorm/data.info
-GNUstep/Local/Applications/PRICE.app/Resources/DFTLowPass.gorm/objects.gorm
-GNUstep/Local/Applications/PRICE.app/Resources/Equalize.gorm/data.classes
-GNUstep/Local/Applications/PRICE.app/Resources/Equalize.gorm/data.info
-GNUstep/Local/Applications/PRICE.app/Resources/Equalize.gorm/objects.gorm
-GNUstep/Local/Applications/PRICE.app/Resources/Grayscale.gorm/data.classes
-GNUstep/Local/Applications/PRICE.app/Resources/Grayscale.gorm/data.info
-GNUstep/Local/Applications/PRICE.app/Resources/Grayscale.gorm/objects.gorm
-GNUstep/Local/Applications/PRICE.app/Resources/Histogram.gorm/data.classes
-GNUstep/Local/Applications/PRICE.app/Resources/Histogram.gorm/objects.gorm
-GNUstep/Local/Applications/PRICE.app/Resources/Info-gnustep.plist
-GNUstep/Local/Applications/PRICE.app/Resources/MainMenu.gorm/data.classes
-GNUstep/Local/Applications/PRICE.app/Resources/MainMenu.gorm/data.info
-GNUstep/Local/Applications/PRICE.app/Resources/MainMenu.gorm/objects.gorm
-GNUstep/Local/Applications/PRICE.app/Resources/Median.gorm/data.classes
-GNUstep/Local/Applications/PRICE.app/Resources/Median.gorm/data.info
-GNUstep/Local/Applications/PRICE.app/Resources/Median.gorm/objects.gorm
-GNUstep/Local/Applications/PRICE.app/Resources/PRICE.desktop
-GNUstep/Local/Applications/PRICE.app/Resources/PRWindow.gorm/data.classes
-GNUstep/Local/Applications/PRICE.app/Resources/PRWindow.gorm/data.info
-GNUstep/Local/Applications/PRICE.app/Resources/PRWindow.gorm/objects.gorm
-GNUstep/Local/Applications/PRICE.app/Resources/Preview.gorm/data.classes
-GNUstep/Local/Applications/PRICE.app/Resources/Preview.gorm/data.info
-GNUstep/Local/Applications/PRICE.app/Resources/Preview.gorm/objects.gorm
-GNUstep/Local/Applications/PRICE.app/Resources/ProgressPanel.gorm/data.classes
-GNUstep/Local/Applications/PRICE.app/Resources/ProgressPanel.gorm/objects.gorm
-GNUstep/Local/Applications/PRICE.app/Resources/Scale.gorm/data.classes
-GNUstep/Local/Applications/PRICE.app/Resources/Scale.gorm/data.info
-GNUstep/Local/Applications/PRICE.app/Resources/Scale.gorm/objects.gorm
-GNUstep/Local/Applications/PRICE.app/Resources/TraceEdges.gorm/data.classes
-GNUstep/Local/Applications/PRICE.app/Resources/TraceEdges.gorm/data.info
-GNUstep/Local/Applications/PRICE.app/Resources/TraceEdges.gorm/objects.gorm
-GNUstep/Local/Applications/PRICE.app/Resources/price-icon-os.tiff
-GNUstep/Local/Applications/PRICE.app/stamp.make
-GNUstep/Local/Tools/PRICE