2000-03-31 11:30:25 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.16 2000/03/31 16:30:25 espie Exp $
|
1997-11-17 20:20:00 -05:00
|
|
|
|
2000-03-22 22:57:43 -05:00
|
|
|
DISTNAME= bash-2.04
|
1999-08-21 13:20:46 -04:00
|
|
|
CATEGORIES= shells
|
2000-03-31 11:30:25 -05:00
|
|
|
NEED_VERSION= 1.240
|
1999-08-21 13:20:46 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
|
|
MASTER_SITE_SUBDIR= bash
|
|
|
|
DOCNAME= ${DISTNAME:S/-/-doc-/}
|
1999-12-08 00:20:30 -05:00
|
|
|
DISTFILES= ${DISTNAME}.tar.gz ${DOCNAME}.tar.gz
|
|
|
|
|
|
|
|
MAINTAINER= ports@openbsd.org
|
1997-11-17 20:20:00 -05:00
|
|
|
|
2000-03-05 13:49:35 -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-03-05 13:49:35 -05:00
|
|
|
FAKE= Yes
|
|
|
|
HAS_CONFIGURE= Yes
|
|
|
|
CONFIGURE_ARGS=--prefix='$${DESTDIR}${PREFIX}' --sysconfdir='$${DESTDIR}/etc'
|
1997-11-17 20:20:00 -05:00
|
|
|
|
2000-03-31 11:30:25 -05:00
|
|
|
# Work-around for curses bug, which makes trace visible...
|
|
|
|
CFLAGS+=-Dtrace=bash_trace
|
|
|
|
|
|
|
|
FLAVORS=static
|
1999-12-10 09:27:04 -05:00
|
|
|
.if defined(STATIC) && ${STATIC:U} == YES
|
2000-03-31 11:30:25 -05:00
|
|
|
FLAVOR=static
|
|
|
|
.endif
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L} == "static"
|
1999-12-08 00:20:30 -05:00
|
|
|
CONFIGURE_ENV+= LDFLAGS=-static
|
|
|
|
.endif
|
1997-11-17 20:20:00 -05:00
|
|
|
|
|
|
|
post-install:
|
2000-03-22 22:57:43 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bash
|
2000-03-31 11:30:25 -05:00
|
|
|
cd ${WRKDIR}/doc && \
|
|
|
|
${INSTALL_MAN} article.ps article.txt bash.html bash.ps \
|
|
|
|
bashbug.ps bashref.html bashref.ps builtins.ps \
|
|
|
|
readline.ps ${PREFIX}/share/doc/bash
|
1997-11-17 20:20:00 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|