d5035ab0c8
and use :U modifier as well.
30 lines
854 B
Makefile
30 lines
854 B
Makefile
# $OpenBSD: Makefile,v 1.14 1999/12/10 14:38:56 brad Exp $
|
|
|
|
DISTNAME= zsh-3.0.7
|
|
CATEGORIES= shells
|
|
MASTER_SITES= ftp://ftp.zsh.org/zsh/ \
|
|
ftp://ftp.sterling.com/zsh/ \
|
|
ftp://ftp.rge.com/pub/zsh/ \
|
|
ftp://ftp.cenatls.cena.dgac.fr/pub/shells/zsh/ \
|
|
ftp://mrrl.lut.ac.uk/zsh/ \
|
|
ftp://ftp.fu-berlin.de/pub/unix/shells/zsh/ \
|
|
ftp://ftp.ips.oz.au/pub/packages/zsh/ \
|
|
ftp://ftp.uit.no/pub/unix/shells/zsh/
|
|
|
|
MAINTAINER= ports@openbsd.org
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --enable-zsh-mem --enable-zsh-secure-free
|
|
|
|
# invoke make with STATIC=yes to build a static binary
|
|
.if defined(STATIC) && ${STATIC:U} == YES
|
|
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>
|