openbsd-ports/misc/screen/Makefile

50 lines
1.0 KiB
Makefile
Raw Normal View History

2013-03-11 07:20:26 -04:00
# $OpenBSD: Makefile,v 1.65 2013/03/11 11:23:58 espie Exp $
# Please adjust www/faq/faq15.html if updating.
COMMENT= multi-screen window manager
VERSION= 4.0.3
2000-08-23 13:55:20 -04:00
DISTNAME= screen-${VERSION}
REVISION= 3
CATEGORIES= misc
2012-02-20 17:20:51 -05:00
MASTER_SITES= ${MASTER_SITE_GNU:=screen/}
HOMEPAGE= http://www.gnu.org/software/screen/
# GPLv2+
2000-02-19 19:01:59 -05:00
PERMIT_PACKAGE_CDROM= Yes
2000-02-12 03:02:07 -05:00
SUBST_VARS= VERSION
2000-08-23 13:55:20 -04:00
2004-01-17 00:34:28 -05:00
CFLAGS+= -Wall
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --with-sys-screenrc="${SYSCONFDIR}/screenrc"
2010-10-18 16:52:05 -04:00
USE_GROFF = Yes
FLAVORS= static shm
FLAVOR?=
.if ${FLAVOR} == "static"
CONFIGURE_ENV= LDFLAGS="-static"
2004-12-22 06:48:32 -05:00
.else
WANTLIB= c curses util
.endif
.if ${FLAVOR} == "shm"
PATCH_LIST= patch-* shmpatch-*
.endif
ALL_TARGET= screen 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:
@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
.include <bsd.port.mk>