openbsd-ports/plan9/sam/Makefile
1999-05-12 19:11:35 +00:00

28 lines
769 B
Makefile

# $OpenBSD: Makefile,v 1.4 1999/05/12 19:11:35 brad Exp $
DISTNAME= sam-4.3-19980506
CATEGORIES= plan9
MAINTAINER= markus.friedl@informatik.uni-erlangen.de
MASTER_SITES= ftp://netlib.bell-labs.com/netlib/research/ \
http://netlib.bell-labs.com/netlib/research/
DISTFILES= sam.shar.gz
NO_WRKSUBDIR= yes
EXTRACT_SUFX= .shar.gz
EXTRACT_CMD= gzip -d <
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS= |sh
SAMDOCDIR= ${PREFIX}/share/doc/sam
SAMDOCFILES= sam.ps sam.tut.ms se.ps Sam.ad
post-install:
${INSTALL_MAN} $(WRKSRC)/doc/sam.1 $(PREFIX)/man/man1
${MKDIR} ${SAMDOCDIR}
set -e; for f in ${SAMDOCFILES}; do \
${INSTALL_DATA} ${WRKSRC}/doc/$${f} ${SAMDOCDIR}/$${f}; \
done
${INSTALL_DATA} ${WRKSRC}/README ${SAMDOCDIR}/
.include <bsd.port.mk>