openbsd-ports/shells/bash2/Makefile
marc 846a895fc0 o add INSTALL and DEINSTALL script
o call INSTALL script from post-install rule in Makefile
o remove duplicate messages from Makefile and packing list
THIS PORT IS NOW FROZEN
1999-04-08 15:37:27 +00:00

38 lines
913 B
Makefile

# $OpenBSD: Makefile,v 1.8 1999/04/08 15:37:27 marc Exp $
#
DISTNAME= bash-2.03
CATEGORIES= shells
MAINTAINER= marc@OpenBSD.ORG
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= bash
DOCNAME= ${DISTNAME:S/-/-doc-/}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DOCNAME}${EXTRACT_SUFX}
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} \
${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>