2005-04-11 23:44:48 +02:00
|
|
|
# $NetBSD: Makefile,v 1.57 2005/04/11 21:46:39 tv Exp $
|
1997-10-11 23:47:45 +02:00
|
|
|
|
2004-01-06 17:30:39 +01:00
|
|
|
DISTNAME= screen-4.0.2
|
2004-07-15 06:05:40 +02:00
|
|
|
PKGREVISION= 1
|
1997-10-11 23:47:45 +02:00
|
|
|
CATEGORIES= misc
|
1999-08-10 11:18:01 +02:00
|
|
|
MASTER_SITES= ftp://ftp.uni-erlangen.de/pub/utilities/screen/ \
|
|
|
|
${MASTER_SITE_GNU:=screen/}
|
1997-10-11 23:47:45 +02:00
|
|
|
|
2005-02-21 23:37:03 +01:00
|
|
|
MAINTAINER= kim@tac.nyc.ny.us
|
2000-09-01 16:39:51 +02:00
|
|
|
HOMEPAGE= http://www.gnu.org/software/screen/screen.html
|
2001-02-17 18:52:59 +01:00
|
|
|
COMMENT= Multi-screen window manager
|
1997-10-11 23:47:45 +02:00
|
|
|
|
2004-01-05 12:53:39 +01:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
|
2004-10-12 01:46:15 +02:00
|
|
|
NOT_FOR_PLATFORM= Interix-*-* # user auth and username size fixes needed
|
|
|
|
|
2003-01-28 23:03:00 +01:00
|
|
|
USE_PKGINSTALL= YES
|
2001-08-18 11:53:01 +02:00
|
|
|
INFO_FILES= screen.info
|
|
|
|
PLIST_SUBST= DISTNAME=${DISTNAME}
|
1997-10-11 23:47:45 +02:00
|
|
|
|
2002-11-15 00:24:23 +01:00
|
|
|
GNU_CONFIGURE= # defined
|
|
|
|
CONFIGURE_ARGS+= --with-sys-screenrc=${PKG_SYSCONFDIR}/screenrc
|
|
|
|
CONFIGURE_ARGS+= --enable-telnet
|
2002-05-31 10:40:24 +02:00
|
|
|
|
2001-03-02 15:56:15 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
2002-11-15 00:24:23 +01:00
|
|
|
|
2002-12-23 14:13:02 +01:00
|
|
|
post-patch:
|
|
|
|
@for file in etc/etcscreenrc doc/screen.1; do \
|
2003-04-09 23:04:08 +02:00
|
|
|
${MV} ${WRKSRC}/$$file ${WRKSRC}/$$file.orig; \
|
|
|
|
${SED} ${FILES_SUBST_SED} \
|
|
|
|
${WRKSRC}/$$file.orig > ${WRKSRC}/$$file; \
|
2002-12-23 14:13:02 +01:00
|
|
|
done
|
|
|
|
|
1997-10-11 23:47:45 +02:00
|
|
|
post-install:
|
2003-04-09 23:04:08 +02:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/screen
|
2002-11-15 00:24:23 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/etc/etcscreenrc \
|
|
|
|
${PREFIX}/share/examples/screen/screenrc
|
2002-12-25 17:53:51 +01:00
|
|
|
.if ${OPSYS} == "SunOS"
|
2002-11-15 00:24:23 +01:00
|
|
|
cd ${WRKSRC}/terminfo && \
|
|
|
|
${SETENV} TERMINFO=${PREFIX}/share/lib/terminfo \
|
|
|
|
/usr/5bin/tic screeninfo.src
|
2001-03-02 15:56:15 +01:00
|
|
|
.endif
|
1997-10-11 23:47:45 +02:00
|
|
|
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|