50 lines
1.0 KiB
Makefile
Raw Normal View History

2013-03-11 11:20:26 +00: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 17:55:20 +00:00
DISTNAME= screen-${VERSION}
REVISION= 3
CATEGORIES= misc
2012-02-20 22:20:51 +00:00
MASTER_SITES= ${MASTER_SITE_GNU:=screen/}
HOMEPAGE= http://www.gnu.org/software/screen/
# GPLv2+
2000-02-20 00:01:59 +00:00
PERMIT_PACKAGE_CDROM= Yes
2000-02-12 08:02:07 +00:00
SUBST_VARS= VERSION
2000-08-23 17:55:20 +00:00
2004-01-17 05:34:28 +00:00
CFLAGS+= -Wall
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --with-sys-screenrc="${SYSCONFDIR}/screenrc"
2010-10-18 20:52:05 +00:00
USE_GROFF = Yes
FLAVORS= static shm
FLAVOR?=
.if ${FLAVOR} == "static"
CONFIGURE_ENV= LDFLAGS="-static"
2004-12-22 11:48:32 +00:00
.else
WANTLIB= c curses util
.endif
.if ${FLAVOR} == "shm"
PATCH_LIST= patch-* shmpatch-*
.endif
ALL_TARGET= screen screen.info
pre-build:
2003-09-27 02:00:58 +00: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>