aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/xzgv
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2000-10-28 23:53:19 +0800
committertrevor <trevor@FreeBSD.org>2000-10-28 23:53:19 +0800
commit331f242ef0ed8565b41bd3d83980c9fc55382885 (patch)
tree8bfea7fadba5b99a60bffbd41345f4b069102868 /graphics/xzgv
parentc12defbfadd6d322d83865fc846dc5f7c9ded018 (diff)
downloadfreebsd-ports-gnome-331f242ef0ed8565b41bd3d83980c9fc55382885.tar.gz
freebsd-ports-gnome-331f242ef0ed8565b41bd3d83980c9fc55382885.tar.zst
freebsd-ports-gnome-331f242ef0ed8565b41bd3d83980c9fc55382885.zip
Remove outdated entries from pkg-plist, submitted by maintainer.
Use X prefix, suggested by maintainer. Patch config.mk to enable new prefix (was using hard-coded /usr/local). Run "strip" with -s option. PR: 22377
Diffstat (limited to 'graphics/xzgv')
-rw-r--r--graphics/xzgv/Makefile7
-rw-r--r--graphics/xzgv/pkg-plist5
2 files changed, 7 insertions, 5 deletions
diff --git a/graphics/xzgv/Makefile b/graphics/xzgv/Makefile
index a3bf37e428fd..8a52243ab9dd 100644
--- a/graphics/xzgv/Makefile
+++ b/graphics/xzgv/Makefile
@@ -16,11 +16,16 @@ MAINTAINER= nosuzuki@e-mail.ne.jp
USE_GMAKE= yes
USE_IMLIB= yes
+USE_X_PREFIX= yes
MAN1= xzgv.1
+post-patch:
+ @${PERL} -pi -e "s:usr/local:${PREFIX}:g" ${WRKSRC}/config.mk
+
post-install:
- strip ${PREFIX}/bin/xzgv
+ ${ECHO} ${PREFIX}
+ strip -s ${PREFIX}/bin/xzgv
install-info ${PREFIX}/info/xzgv ${PREFIX}/info/dir
.include <bsd.port.mk>
diff --git a/graphics/xzgv/pkg-plist b/graphics/xzgv/pkg-plist
index 09cb1f2ca4ca..5ed253643279 100644
--- a/graphics/xzgv/pkg-plist
+++ b/graphics/xzgv/pkg-plist
@@ -1,7 +1,4 @@
bin/xzgv
@unexec install-info --delete %D/info/xzgv %D/info/dir
-info/xzgv.gz
-info/xzgv-1.gz
-info/xzgv-2.gz
-info/xzgv-3.gz
+info/xzgv
@exec install-info %D/info/xzgv %D/info/dir