2001-04-10 11:32:55 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.20 2001/04/10 15:32:55 naddy Exp $
|
1997-11-17 20:20:00 -05:00
|
|
|
|
2001-04-10 11:32:55 -04:00
|
|
|
COMMENT= "GNU Bourne Again Shell"
|
2000-07-04 17:26:17 -04:00
|
|
|
|
2001-04-10 11:32:55 -04:00
|
|
|
DISTNAME= bash-2.05
|
|
|
|
CATEGORIES= shells
|
|
|
|
NEED_VERSION= 1.392
|
1999-12-08 00:20:30 -05:00
|
|
|
|
|
|
|
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
|
|
|
|
2001-04-10 11:32:55 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
|
|
MASTER_SITE_SUBDIR= bash
|
|
|
|
DISTFILES= ${DISTNAME}.tar.gz ${DISTNAME:S/-/-doc-/}.tar.gz
|
2000-03-31 11:30:25 -05:00
|
|
|
|
2001-01-03 14:36:09 -05:00
|
|
|
FLAVORS= static
|
2000-07-04 17:26:17 -04:00
|
|
|
FLAVOR?=
|
|
|
|
|
2001-04-10 11:32:55 -04:00
|
|
|
CONFIGURE_STYLE= gnu dest
|
|
|
|
|
2000-03-31 11:30:25 -05:00
|
|
|
.if ${FLAVOR:L} == "static"
|
2001-01-03 14:36:09 -05:00
|
|
|
CONFIGURE_ARGS= --enable-static-link
|
1999-12-08 00:20:30 -05:00
|
|
|
.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 && \
|
2001-04-10 11:32:55 -04:00
|
|
|
${INSTALL_DATA} article.ps article.txt bash.html bash.ps \
|
2000-03-31 11:30:25 -05:00
|
|
|
bashbug.ps bashref.html bashref.ps builtins.ps \
|
2001-04-10 11:32:55 -04:00
|
|
|
${PREFIX}/share/doc/bash
|
1997-11-17 20:20:00 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|