summaryrefslogtreecommitdiff
path: root/graphics/xzgv
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2000-10-28 15:53:19 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2000-10-28 15:53:19 +0000
commita92097c9aaa58d125e2b44a3614709277c75b51a (patch)
tree77b52e765d754d162b5cfecdbc62b1f2b6f6740d /graphics/xzgv
parentFix Imakefile breakage under XFree86 4.x (diff)
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
Notes
Notes: svn path=/head/; revision=34365
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