summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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