2007-09-01 20:11:21 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.58 2007/09/01 20:11:21 kili Exp $
|
2001-04-13 21:48:42 +00:00
|
|
|
|
2007-09-01 20:11:21 +00:00
|
|
|
COMMENT= multi-screen window manager
|
1997-11-18 02:42:11 +00:00
|
|
|
|
2006-10-25 16:27:04 +00:00
|
|
|
VERSION= 4.0.3
|
2000-08-23 17:55:20 +00:00
|
|
|
DISTNAME= screen-${VERSION}
|
2007-09-01 20:11:21 +00:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
1997-11-18 02:42:11 +00:00
|
|
|
CATEGORIES= misc
|
2000-09-01 20:58:11 +00:00
|
|
|
MASTER_SITES= ftp://ftp.uni-erlangen.de/pub/utilities/screen/
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.gnu.org/software/screen/
|
1997-11-18 02:42:11 +00:00
|
|
|
|
2007-09-01 20:11:21 +00:00
|
|
|
MAINTAINER= Brad Smith <brad@comstyle.com>
|
1999-09-08 01:16:27 +00:00
|
|
|
|
2003-10-14 23:05:28 +00:00
|
|
|
# GPL
|
2000-02-20 00:01:59 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-02-12 08:02:07 +00:00
|
|
|
|
2000-09-06 00:28:05 +00:00
|
|
|
SUBST_VARS= VERSION
|
2000-08-23 17:55:20 +00:00
|
|
|
|
2004-01-17 05:34:28 +00:00
|
|
|
CFLAGS+= -Wall
|
|
|
|
|
2000-08-24 22:46:43 +00:00
|
|
|
CONFIGURE_STYLE= gnu
|
2000-09-01 19:37:52 +00:00
|
|
|
CONFIGURE_ARGS= --with-sys-screenrc="${SYSCONFDIR}/screenrc"
|
1999-11-30 22:59:18 +00:00
|
|
|
|
2003-11-22 00:56:58 +00:00
|
|
|
FLAVORS= static shm
|
2001-12-07 13:52:36 +00:00
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L} == "static"
|
|
|
|
CONFIGURE_ENV= LDFLAGS="-static"
|
2004-12-22 11:48:32 +00:00
|
|
|
.else
|
|
|
|
WANTLIB= c curses util
|
2001-12-07 13:52:36 +00:00
|
|
|
.endif
|
2003-11-22 00:56:58 +00:00
|
|
|
.if ${FLAVOR:L} == "shm"
|
|
|
|
PATCH_LIST= patch-* shmpatch-*
|
|
|
|
.endif
|
2001-12-07 13:52:36 +00:00
|
|
|
|
2000-09-06 00:28:05 +00:00
|
|
|
ALL_TARGET= screen screen.info
|
|
|
|
|
2002-08-21 20:12:02 +00:00
|
|
|
pre-build:
|
2003-09-27 02:00:58 +00:00
|
|
|
@perl -pi -e s#!!sysconfdir!!#${SYSCONFDIR}#g ${WRKSRC}/doc/screen.1
|
2002-08-21 20:12:02 +00:00
|
|
|
|
1997-11-18 02:42:11 +00:00
|
|
|
post-install:
|
2003-10-10 01:27:38 +00:00
|
|
|
@cd ${PREFIX}/bin && mv -f screen-${VERSION} screen
|
|
|
|
@chmod 755 ${PREFIX}/bin/screen
|
2000-08-04 18:25:24 +00:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/screen
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/etc/etcscreenrc \
|
2004-06-24 04:07:53 +00:00
|
|
|
${PREFIX}/share/examples/screen/screenrc
|
1997-11-18 02:42:11 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|