openbsd-ports/shells/bash2/Makefile

38 lines
913 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.8 1999/04/08 15:37:27 marc Exp $
#
1999-02-19 20:49:12 -05:00
DISTNAME= bash-2.03
CATEGORIES= shells
MAINTAINER= marc@OpenBSD.ORG
1999-02-19 20:49:12 -05:00
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= bash
DOCNAME= ${DISTNAME:S/-/-doc-/}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DOCNAME}${EXTRACT_SUFX}
1999-02-19 20:49:12 -05:00
GNU_CONFIGURE= yes
pre-install:
if [ ! -s ${PREFIX}/info/dir ]; then \
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
fi
post-install:
${MKDIR} ${PREFIX}/share/doc/bash
${INSTALL_MAN} \
1999-02-19 20:49:12 -05:00
${WRKDIR}/doc/article.ps \
${WRKDIR}/doc/article.txt \
${WRKDIR}/doc/bash.html \
${WRKDIR}/doc/bash.ps \
${WRKDIR}/doc/bashbug.ps \
${WRKDIR}/doc/bashref.html \
${WRKDIR}/doc/bashref.ps \
${WRKDIR}/doc/builtins.ps \
${WRKDIR}/doc/readline.ps \
${PREFIX}/share/doc/bash
@PKG_PREFIX="${PREFIX}" ${SH} ${PKGDIR}/INSTALL ${DISTNAME} POST-INSTALL
.include <bsd.port.mk>
1999-02-19 20:49:12 -05:00