Flavored shells.

This commit is contained in:
espie 2000-03-31 16:31:07 +00:00
parent a5fc69c363
commit ea83273f2f
5 changed files with 38 additions and 23 deletions

View File

@ -1,13 +1,18 @@
# $OpenBSD: Makefile,v 1.6 1999/08/21 14:01:49 brad Exp $
# $OpenBSD: Makefile,v 1.7 2000/03/31 16:31:07 espie Exp $
# $FreeBSD: Makefile,v 1.13 1997/01/03 00:40:55 max Exp $
#
SUBDIR += bash
SUBDIR += bash:static
SUBDIR += bash2
SUBDIR += bash2:static
SUBDIR += es
SUBDIR += scsh
SUBDIR += tcsh
SUBDIR += tcsh:static
SUBDIR += zsh
SUBDIR += zsh:static
SUBDIR += zsh-devel
SUBDIR += zsh-devel:static
.include <bsd.port.subdir.mk>

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.13 2000/03/26 00:12:27 espie Exp $
# $OpenBSD: Makefile,v 1.14 2000/03/31 16:31:07 espie Exp $
DISTNAME= bash-1.14.7
CATEGORIES= shells
NEED_VERSION= 1.234
NEED_VERSION= 1.240
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= bash
@ -14,10 +14,14 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
# invoke make with STATIC=yes to build a static binary
FLAVORS=static
.if defined(STATIC) && ${STATIC:U} == YES
FLAVOR=static
.endif
FLAVOR?=
.if ${FLAVOR:L} == "static"
MAKE_ENV= CPP_DEFINES="-DSYSDEP_LDFLAGS=-static"
PKGNAME= ${DISTNAME}-static
.endif
FAKE= Yes

View File

@ -1,13 +1,9 @@
# $OpenBSD: Makefile,v 1.19 2000/03/06 03:00:04 espie Exp $
# $OpenBSD: Makefile,v 1.20 2000/03/31 16:31:07 espie Exp $
DISTNAME= tcsh-6.09
.if defined(STATIC) && ${STATIC:U} == YES
PKGNAME= tcsh-6.09.00-static
.else
PKGNAME= tcsh-6.09.00
.endif
CATEGORIES= shells
NEED_VERSION= 1.218
NEED_VERSION= 1.240
MASTER_SITES= ftp://ftp.astron.com/pub/tcsh/
MAINTAINER= brad@openbsd.org
@ -20,8 +16,13 @@ PERMIT_DISTFILES_FTP= Yes
GNU_CONFIGURE= Yes
# invoke make with STATIC=yes to build a static binary
FLAVORS=static
.if defined(STATIC) && ${STATIC:U} == YES
FLAVOR=static
.endif
FLAVOR?=
.if ${FLAVOR:L} == "static"
CONFIGURE_ENV+= LDFLAGS=-static
.endif

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.12 2000/03/26 02:00:17 espie Exp $
# $OpenBSD: Makefile,v 1.13 2000/03/31 16:31:08 espie Exp $
DISTNAME= zsh-3.1.6
CATEGORIES= shells
NEED_VERSION= 1.233
NEED_VERSION= 1.240
MASTER_SITES= ftp://ftp.zsh.org/zsh/ \
ftp://ftp.sterling.com/zsh/ \
ftp://ftp.rge.com/pub/zsh/ \
@ -30,10 +30,14 @@ FAKE= Yes
post-configure:
@perl -pi.bak -e 's,/usr/local,\$${DESTDIR}/usr/local,' ${WRKBUILD}/Makefile
# invoke make with STATIC=yes to build a static binary
FLAVORS=static
.if defined(STATIC) && ${STATIC:U} == YES
FLAVOR=static
.endif
FLAVOR?=
.if ${FLAVOR:L} == "static"
CONFIGURE_ENV+= LDFLAGS=-static
PKGNAME= ${DISTNAME}-static
.endif

View File

@ -1,7 +1,8 @@
# $OpenBSD: Makefile,v 1.18 2000/03/06 17:57:23 espie Exp $
# $OpenBSD: Makefile,v 1.19 2000/03/31 16:31:08 espie Exp $
DISTNAME= zsh-3.0.7
CATEGORIES= shells
NEED_VERSION= 1.240
MASTER_SITES= ftp://ftp.zsh.org/zsh/ \
ftp://ftp.sterling.com/zsh/ \
ftp://ftp.rge.com/pub/zsh/ \
@ -24,14 +25,14 @@ HAS_CONFIGURE= Yes
CONFIGURE_ARGS= --prefix='$${DESTDIR}${PREFIX}' --sysconfdir='$${DESTDIR}/etc'
CONFIGURE_ARGS+= --enable-zsh-mem --enable-zsh-secure-free
# invoke make with STATIC=yes to build a static binary
FLAVORS=static
.if defined(STATIC) && ${STATIC:U} == YES
FLAVOR=static
.endif
FLAVOR?=
.if ${FLAVOR:L} == "static"
CONFIGURE_ENV+= LDFLAGS=-static
PKGNAME= ${DISTNAME}-static
.endif
post-install:
@install-info ${PREFIX}/info/zsh.info ${PREFIX}/info/dir
# @PKG_PREFIX="${PREFIX}" sh ${PKGDIR}/INSTALL ${DISTNAME} POST-INSTALL
.include <bsd.port.mk>