aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-03-09 08:57:46 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-03-09 08:57:46 +0800
commit4f6ee4a265901675402a3d57e037deda0c322b13 (patch)
tree219c71259b27e25227ccf60deb90f9c775f2f2ee /graphics
parentfd78014e34bda470c2b4c1629b993f6ff4eca1e5 (diff)
downloadfreebsd-ports-gnome-4f6ee4a265901675402a3d57e037deda0c322b13.tar.gz
freebsd-ports-gnome-4f6ee4a265901675402a3d57e037deda0c322b13.tar.zst
freebsd-ports-gnome-4f6ee4a265901675402a3d57e037deda0c322b13.zip
- Clarify LICENSE
- Add LICENSE_FILE - Strip binary - Add empty directory to plist
Diffstat (limited to 'graphics')
-rw-r--r--graphics/preview/Makefile8
-rw-r--r--graphics/preview/pkg-plist3
2 files changed, 9 insertions, 2 deletions
diff --git a/graphics/preview/Makefile b/graphics/preview/Makefile
index 9bdd0b81d948..5c6555ca35e8 100644
--- a/graphics/preview/Makefile
+++ b/graphics/preview/Makefile
@@ -2,7 +2,7 @@
PORTNAME= preview
PORTVERSION= 0.8.5
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= graphics gnustep
MASTER_SITES= http://download.gna.org/gsimageapps/
PKGNAMEPREFIX= gnustep-
@@ -11,7 +11,8 @@ DISTNAME= Preview-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple image viewer
-LICENSE= GPLv2
+LICENSE= GPLv2 # or later
+LICENSE_FILE= ${WRKSRC}/COPYING
USE_GNUSTEP= yes
USE_GNUSTEP_BACK= yes
@@ -20,4 +21,7 @@ USE_GNUSTEP_INSTALL= yes
WRKSRC= ${WRKDIR}/Preview
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/Local/Applications/Preview.app/Preview
+
.include <bsd.port.mk>
diff --git a/graphics/preview/pkg-plist b/graphics/preview/pkg-plist
index b1293a7d2b41..ca102f4a2f22 100644
--- a/graphics/preview/pkg-plist
+++ b/graphics/preview/pkg-plist
@@ -34,3 +34,6 @@ GNUstep/Local/Applications/Preview.app/Resources/hand.tiff
GNUstep/Local/Applications/Preview.app/Resources/last_page.tiff
GNUstep/Local/Applications/Preview.app/stamp.make
GNUstep/Local/Tools/Preview
+@dir GNUstep/Local/Applications/Preview.app/Resources/English.lproj/Preview.help
+@dir GNUstep/Local/Applications/Preview.app/Resources/French.lproj/Preview.gorm
+@dir GNUstep/Local/Applications/Preview.app/Resources/French.lproj/Preview.help