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