openbsd-ports/misc/screen/Makefile

49 lines
1.1 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.47 2003/10/10 01:27:38 brad Exp $
COMMENT= "multi-screen window manager"
2003-09-26 22:00:58 -04:00
VERSION= 4.0.1
2000-08-23 13:55:20 -04:00
DISTNAME= screen-${VERSION}
PKGNAME= ${DISTNAME}p1
CATEGORIES= misc
MASTER_SITES= ftp://ftp.uni-erlangen.de/pub/utilities/screen/
HOMEPAGE= http://www.gnu.org/software/screen/
2000-09-24 03:03:59 -04:00
MAINTAINER= Brad Smith <brad@openbsd.org>
1999-09-07 21:16:27 -04:00
2000-02-19 19:01:59 -05:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2000-02-12 03:02:07 -05:00
SUBST_VARS= VERSION
2000-08-23 13:55:20 -04:00
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --with-sys-screenrc="${SYSCONFDIR}/screenrc"
FLAVORS= static
FLAVOR?=
.if ${FLAVOR:L} == "static"
CONFIGURE_ENV= LDFLAGS="-static"
.endif
ALL_TARGET= screen screen.info
2002-02-17 02:13:40 -05:00
post-extract:
@rm -f ${WRKSRC}/doc/screen.info*
pre-build:
2003-09-26 22:00:58 -04:00
@perl -pi -e s#!!sysconfdir!!#${SYSCONFDIR}#g ${WRKSRC}/doc/screen.1
post-install:
@rm -f ${PREFIX}/bin/screen
@cd ${PREFIX}/bin && mv -f screen-${VERSION} screen
@chmod 755 ${PREFIX}/bin/screen
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/screen
${INSTALL_DATA} ${WRKSRC}/etc/etcscreenrc \
${PREFIX}/share/examples/screen/screenrc-sample
.include <bsd.port.mk>