openbsd-ports/plan9/sam/Makefile

37 lines
856 B
Makefile

# $OpenBSD: Makefile,v 1.10 2000/04/09 17:37:47 espie Exp $
DISTNAME= sam
PKGNAME= sam-4.3-19980506
CATEGORIES= plan9
NEED_VERSION= 1.191
FAKE=No
MASTER_SITES= ftp://netlib.bell-labs.com/netlib/research/ \
http://netlib.bell-labs.com/netlib/research/
EXTRACT_SUFX= .shar.gz
EXTRACT_CMD= gzcat
EXTRACT_BEFORE_ARGS= # empty
EXTRACT_AFTER_ARGS= | sh
MAINTAINER= markus@openbsd.org
LICENSE_TYPE= COPY
PERMIT_PACKAGE_CDROM= YES
PERMIT_PACKAGE_FTP= YES
PERMIT_DISTFILES_CDROM= YES
PERMIT_DISTFILES_FTP= YES
WRKDIST= ${WRKDIR}
SAMDOCDIR= ${PREFIX}/share/doc/sam
SAMDOCFILES= README doc/sam.ps doc/sam.tut.ms doc/se.ps doc/Sam.ad
post-install:
@${INSTALL_DATA_DIR} ${SAMDOCDIR}
${INSTALL_MAN} $(WRKSRC)/doc/sam.1 $(PREFIX)/man/man1
@set -e; for f in ${SAMDOCFILES}; do \
${INSTALL_DATA} ${WRKSRC}/$${f} ${SAMDOCDIR}; \
done
.include <bsd.port.mk>