summaryrefslogtreecommitdiff
path: root/misc/screen/Makefile
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1999-08-13 09:37:28 +0000
committeragc <agc@pkgsrc.org>1999-08-13 09:37:28 +0000
commit7c240a7a0e45ca76334a27b61cea06a1ee37a624 (patch)
treec76cc146c05c936f9456a3d461d746e27619af49 /misc/screen/Makefile
parent1e1ce35e08918c34cd0bbe5615b301540168f8df (diff)
downloadpkgsrc-7c240a7a0e45ca76334a27b61cea06a1ee37a624.tar.gz
screen-3.9.3 doesn't exist on the master site. 3.9.4 is the latest version,
with an additional "tty mode fix" over 3.9.3. Whilst I'm here, make the PLIST handling a bit smarter, by using automatic ${DISTNAME} substitution. This means that the PLIST doesn't have to be updated every time there's a new screen version, just to pull in the new version number - it will be done automatically.
Diffstat (limited to 'misc/screen/Makefile')
-rw-r--r--misc/screen/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/misc/screen/Makefile b/misc/screen/Makefile
index a84805f577c..529f03ad2a8 100644
--- a/misc/screen/Makefile
+++ b/misc/screen/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.17 1999/08/10 17:43:55 tron Exp $
+# $NetBSD: Makefile,v 1.18 1999/08/13 09:37:28 agc Exp $
# FreeBSD Id: Makefile,v 1.17 1997/06/16 06:39:51 max Exp
#
-DISTNAME= screen-3.9.3
+DISTNAME= screen-3.9.4
CATEGORIES= misc
MASTER_SITES= ftp://ftp.uni-erlangen.de/pub/utilities/screen/ \
${MASTER_SITE_GNU:=screen/}
@@ -12,8 +12,11 @@ MAINTAINER= hubertf@netbsd.org
GNU_CONFIGURE= yes
INFO_FILES= screen.info
+PLIST_SRC= ${WRKDIR}/PLIST-src
+
post-install:
@${MKDIR} ${PREFIX}/share/examples/screen
${INSTALL_DATA} ${WRKSRC}/etc/etcscreenrc ${PREFIX}/share/examples/screen/screenrc
+ ${SED} -e 's|@DISTNAME@|${DISTNAME}|g' ${PKGDIR}/PLIST > ${PLIST_SRC}
.include "../../mk/bsd.pkg.mk"