pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/wterm Use SPECIAL_PERMS instead of chmod in post-i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7a35375f1291
branches:  trunk
changeset: 568930:7a35375f1291
user:      obache <obache%pkgsrc.org@localhost>
date:      Mon Dec 28 08:49:19 2009 +0000

description:
Use SPECIAL_PERMS instead of chmod in post-install.
It also made user-destdir ready.

Bump PKGREVISION.

diffstat:

 x11/wterm/Makefile |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (41 lines):

diff -r 8ea123dba315 -r 7a35375f1291 x11/wterm/Makefile
--- a/x11/wterm/Makefile        Mon Dec 28 01:01:19 2009 +0000
+++ b/x11/wterm/Makefile        Mon Dec 28 08:49:19 2009 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.37 2009/12/17 18:00:12 abs Exp $
+# $NetBSD: Makefile,v 1.38 2009/12/28 08:49:19 obache Exp $
 
 DISTNAME=      wterm-6.2.9
-PKGREVISION=   9
+PKGREVISION=   10
 CATEGORIES=    x11 windowmaker
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=wterm/}
 
@@ -9,6 +9,8 @@
 HOMEPAGE=      http://wterm.sourceforge.net/
 COMMENT=       NeXTStep(tm) style X11 terminal emulator for WindowMaker
 
+PKG_DESTDIR_SUPPORT= user-destdir
+
 GNU_CONFIGURE= YES
 USE_X11BASE=   YES
 
@@ -18,16 +20,16 @@
 CONFIGURE_ARGS+= --enable-half-shadow
 CONFIGURE_ARGS+= --with-xpm-library=${BUILDLINK_PREFIX.libXpm}
 
-PKG_DESTDIR_SUPPORT= destdir
 INSTALLATION_DIRS+=  share/WindowMaker/Icons
 
 post-install:
-       ${CHMOD} 4755 ${DESTDIR}${PREFIX}/bin/wterm
        ${INSTALL_DATA} ${WRKSRC}/wterm.tiff \
                ${DESTDIR}${PREFIX}/share/WindowMaker/Icons
        ${INSTALL_DATA} ${WRKSRC}/wtermthai.tiff \
                ${DESTDIR}${PREFIX}/share/WindowMaker/Icons
 
+SPECIAL_PERMS+=        bin/wterm ${SETUID_ROOT_PERMS}
+
 BUILDLINK_DEPMETHOD.libXt?=    build
 
 .include "../../wm/windowmaker/buildlink3.mk"



Home | Main Index | Thread Index | Old Index