# $OpenBSD: Makefile,v 1.12 2000/02/15 05:05:13 turan Exp $ DISTNAME= bash-1.14.7 CATEGORIES= shells MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= bash MAINTAINER= ports@openbsd.org LICENSE_TYPE= GPL PERMIT_PACKAGE_CDROM= YES PERMIT_PACKAGE_FTP= YES PERMIT_DISTFILES_CDROM= YES PERMIT_DISTFILES_FTP= YES # invoke make with STATIC=yes to build a static binary .if defined(STATIC) && ${STATIC:U} == YES MAKE_ENV= CPP_DEFINES="-DSYSDEP_LDFLAGS=-static" PKGNAME= ${DISTNAME}-static .endif post-install: @install-info ${PREFIX}/info/bash.info ${PREFIX}/info/dir @PKG_PREFIX="${PREFIX}" sh ${PKGDIR}/INSTALL ${DISTNAME} POST-INSTALL .include