227608866a
update the relevant page if the port is updated. - more precise license marker. No package change. ok Brad (maintainer) after a small adjustment to my diff.
54 lines
1.2 KiB
Makefile
54 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.59 2009/01/27 08:19:38 sthen Exp $
|
|
# Please adjust www/faq/faq15.html if updating.
|
|
|
|
COMMENT= multi-screen window manager
|
|
|
|
VERSION= 4.0.3
|
|
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/
|
|
|
|
MAINTAINER= Brad Smith <brad@comstyle.com>
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
SUBST_VARS= VERSION
|
|
|
|
CFLAGS+= -Wall
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS= --with-sys-screenrc="${SYSCONFDIR}/screenrc"
|
|
|
|
FLAVORS= static shm
|
|
FLAVOR?=
|
|
|
|
.if ${FLAVOR:L} == "static"
|
|
CONFIGURE_ENV= LDFLAGS="-static"
|
|
.else
|
|
WANTLIB= c curses util
|
|
.endif
|
|
.if ${FLAVOR:L} == "shm"
|
|
PATCH_LIST= patch-* shmpatch-*
|
|
.endif
|
|
|
|
ALL_TARGET= screen screen.info
|
|
|
|
pre-build:
|
|
@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>
|