summaryrefslogtreecommitdiff
path: root/misc/screen
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-17 19:03:35 +0000
committerjlam <jlam@pkgsrc.org>2008-03-17 19:03:35 +0000
commiteb00783baa2a37b2388f6c52f0ec77cd0971e1a6 (patch)
treecbdf6eb4cd8151363e3b21d46297042cd27e3d40 /misc/screen
parentb46fc42132602c98aadc3055fe0f7fd9ce81389c (diff)
downloadpkgsrc-eb00783baa2a37b2388f6c52f0ec77cd0971e1a6.tar.gz
+ Include termcap.buildlink3.mk for proper termcap library handling.
+ Note bin/screen as a setuid-root program using SPECIAL_PERMS. Bump the PKGREVISION to 1.
Diffstat (limited to 'misc/screen')
-rw-r--r--misc/screen/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/misc/screen/Makefile b/misc/screen/Makefile
index 4791c1c49fe..21f775eee62 100644
--- a/misc/screen/Makefile
+++ b/misc/screen/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.73 2007/05/23 23:49:24 wiz Exp $
+# $NetBSD: Makefile,v 1.74 2008/03/17 19:03:35 jlam Exp $
DISTNAME= screen-4.0.3
+PKGREVISION= 1
CATEGORIES= misc shells
MASTER_SITES= ftp://ftp.uni-erlangen.de/pub/utilities/screen/ \
http://komquats.com/distfiles/ \
@@ -41,6 +42,10 @@ post-install: screen-terminfo
PLIST_SUBST+= SCREEN_TERMINFO="@comment "
.endif
+.if empty(UNPRIVILEGED:M[Yy][Ee][Ss])
+SPECIAL_PERMS+= bin/${DISTNAME} ${SETUID_ROOT_PERMS}
+.endif
+
post-install:
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/screen
${INSTALL_DATA} ${WRKSRC}/etc/etcscreenrc \
@@ -57,4 +62,5 @@ screen-terminfo:
${SETENV} TERMINFO=${PREFIX}/share/lib/terminfo \
/usr/5bin/tic screeninfo.src
+.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"