summaryrefslogtreecommitdiff
path: root/misc/screen
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-17 19:03:35 +0000
committerjlam <jlam>2008-03-17 19:03:35 +0000
commitd7359a2f6a023d21ab6d842c341de9500037c39e (patch)
treecbdf6eb4cd8151363e3b21d46297042cd27e3d40 /misc/screen
parentd3e016695e2d0ce9e70af01eb23c6519d7e3f240 (diff)
downloadpkgsrc-d7359a2f6a023d21ab6d842c341de9500037c39e.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"