naddy 44c2009795 * Switch to backup mirror for distribution patches; prodded by cannings@.
* Add remaining distribution patches to shut up people nagging about them.
  These patches only affect multi-byte locales, which we don't have yet.
2004-01-13 20:09:39 +00:00

44 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.27 2004/01/13 20:09:39 naddy Exp $
COMMENT= "GNU Bourne Again Shell"
DISTNAME= bash-2.05b
CATEGORIES= shells
HOMEPAGE= http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_GNU:=bash/}
MASTER_SITES0= ${MASTER_SITE_FREEBSD_LOCAL:=obrien/}
DISTFILES= ${DISTNAME}.tar.gz ${DISTNAME:S/-/-doc-/}.tar.gz
.for i in 001 002 003 004 005 006 007
PATCHFILES+= bash205b-${i}:0
.endfor
FLAVORS= static
FLAVOR?=
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC} ${WRKSRC}/support
.if ${FLAVOR:L} == "static"
CONFIGURE_ARGS= --enable-static-link
.endif
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bash
cd ${WRKDIR}/doc && \
${INSTALL_DATA} article.ps article.txt bash.html bash.ps \
bashbug.ps bashref.html bashref.ps builtins.ps \
${PREFIX}/share/doc/bash
.include <bsd.port.mk>