aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/zgv
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-11-02 18:11:44 +0800
committervs <vs@FreeBSD.org>2005-11-02 18:11:44 +0800
commitc0f5fea4270e325fa25fed0807e73ce753bc595e (patch)
tree1404d8c4be2ec3a38b5f083ee9372231ffc40e95 /graphics/zgv
parent97b4a9b0b694e96a35c3f210a2bdd5618ddb9381 (diff)
downloadfreebsd-ports-gnome-c0f5fea4270e325fa25fed0807e73ce753bc595e.tar.gz
freebsd-ports-gnome-c0f5fea4270e325fa25fed0807e73ce753bc595e.tar.zst
freebsd-ports-gnome-c0f5fea4270e325fa25fed0807e73ce753bc595e.zip
Use INSTALL_PROGRAM with custom BINMODE to strip binary on installation
Diffstat (limited to 'graphics/zgv')
-rw-r--r--graphics/zgv/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/zgv/Makefile b/graphics/zgv/Makefile
index 21fa12def9e4..45d641495794 100644
--- a/graphics/zgv/Makefile
+++ b/graphics/zgv/Makefile
@@ -25,6 +25,7 @@ USE_GMAKE= yes
USE_REINPLACE= yes
ALL_TARGET= zgv info
MAKE_ENV= ZGV_LIBS="${LDFLAGS}"
+BINMODE= 4755
PLIST_FILES= bin/zgv etc/zgvrc.sample
.if !defined(NO_INSTALL_MANPAGES)
@@ -40,7 +41,7 @@ post-patch:
@${REINPLACE_CMD} -e 's|ZGV_LIBS=|ZGV_LIBS+=|' ${WRKSRC}/src/Makefile
do-install:
- ${INSTALL} -c -g wheel -o root -m 4755 ${WRKSRC}/src/zgv ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/zgv ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/doc/sample.zgvrc ${PREFIX}/etc/zgvrc.sample
.if !defined(NOPORTDOCS)
${INSTALL_DATA} ${WRKSRC}/doc/zgv ${PREFIX}/${INFO_PATH}/zgv.info