openbsd-ports/shells/bash2/Makefile

43 lines
974 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.18 2000/07/04 21:26:17 brad Exp $
2000-03-22 22:57:43 -05:00
DISTNAME= bash-2.04
1999-08-21 13:20:46 -04:00
CATEGORIES= shells
NEED_VERSION= 1.310
1999-08-21 13:20:46 -04:00
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= bash
DOCNAME= ${DISTNAME:S/-/-doc-/}
DISTFILES= ${DISTNAME}.tar.gz ${DOCNAME}.tar.gz
HOMEPAGE= http://www.gnu.org/software/bash/
MAINTAINER= ports@openbsd.org
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
CONFIGURE_STYLE= gnu dest
# Work-around for curses bug, which makes trace visible...
#CFLAGS+=-Dtrace=bash_trace
FLAVORS=static
FLAVOR?=
.if defined(STATIC) && ${STATIC:U} == YES
FLAVOR=static
.endif
.if ${FLAVOR:L} == "static"
CONFIGURE_ARGS+= --enable-static-link
.endif
post-install:
2000-03-22 22:57:43 -05:00
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bash
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
.include <bsd.port.mk>