openbsd-ports/misc/screen/Makefile
marc 76f12f1c2b o add install and deinstall scripts to handle /etc/screenrc
o call install script from makefile
o remove install/uninstall messages from packing list
THIS PORT IS NOW FROZEN
1999-04-09 03:15:18 +00:00

32 lines
982 B
Makefile

# $OpenBSD: Makefile,v 1.9 1999/04/09 03:15:18 marc Exp $
#
DISTNAME= screen-3.7.6
CATEGORIES= misc
MAINTAINER= marc@OpenBSD.ORG
MASTER_SITES= ftp://ftp.uni-erlangen.de/pub/utilities/screen/ \
${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= screen
# The autoconf.in files are too old to use the latest autoconf and
# without the latest autoconf we cant say "GNU_CONFIGURE" because
# configure doesn't know about sysconfdir. So we do it this way
# instead
#
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
post-install:
@if [ ! -f ${PREFIX}/info/dir ]; then \
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
fi
@install-info ${PREFIX}/info/screen.info ${PREFIX}/info/dir
@${MKDIR} ${PREFIX}/lib/screen
@${INSTALL_DATA} ${WRKSRC}/etc/etcscreenrc ${PREFIX}/lib/screen/screenrc
@${INSTALL_DATA} ${WRKSRC}/terminfo/screencap ${PREFIX}/lib/screen
@PKG_PREFIX="${PREFIX}" ${SH} ${PKGDIR}/INSTALL ${DISTNAME} POST-INSTALL
.include <bsd.port.mk>