diff options
author | trevor <trevor@FreeBSD.org> | 2000-10-28 23:53:19 +0800 |
---|---|---|
committer | trevor <trevor@FreeBSD.org> | 2000-10-28 23:53:19 +0800 |
commit | 331f242ef0ed8565b41bd3d83980c9fc55382885 (patch) | |
tree | 8bfea7fadba5b99a60bffbd41345f4b069102868 | |
parent | c12defbfadd6d322d83865fc846dc5f7c9ded018 (diff) | |
download | freebsd-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
-rw-r--r-- | graphics/xzgv/Makefile | 7 | ||||
-rw-r--r-- | graphics/xzgv/pkg-plist | 5 |
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 |