pkgsrc/misc/screen/Makefile

45 lines
1.2 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.57 2005/04/11 21:46:39 tv Exp $
DISTNAME= screen-4.0.2
PKGREVISION= 1
CATEGORIES= misc
MASTER_SITES= ftp://ftp.uni-erlangen.de/pub/utilities/screen/ \
${MASTER_SITE_GNU:=screen/}
2005-02-21 23:37:03 +01:00
MAINTAINER= kim@tac.nyc.ny.us
HOMEPAGE= http://www.gnu.org/software/screen/screen.html
COMMENT= Multi-screen window manager
2004-01-05 12:53:39 +01:00
PKG_INSTALLATION_TYPES= overwrite pkgviews
NOT_FOR_PLATFORM= Interix-*-* # user auth and username size fixes needed
USE_PKGINSTALL= YES
INFO_FILES= screen.info
PLIST_SUBST= DISTNAME=${DISTNAME}
2002-11-15 00:24:23 +01:00
GNU_CONFIGURE= # defined
CONFIGURE_ARGS+= --with-sys-screenrc=${PKG_SYSCONFDIR}/screenrc
CONFIGURE_ARGS+= --enable-telnet
.include "../../mk/bsd.prefs.mk"
2002-11-15 00:24:23 +01:00
post-patch:
@for file in etc/etcscreenrc doc/screen.1; do \
${MV} ${WRKSRC}/$$file ${WRKSRC}/$$file.orig; \
${SED} ${FILES_SUBST_SED} \
${WRKSRC}/$$file.orig > ${WRKSRC}/$$file; \
done
post-install:
${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
.endif
.include "../../mk/bsd.pkg.mk"