schwarze d3b8b62b9b Minimally fix the manual which was completely unreadable since the
initial import in 1998, lacking many marked-up words and symbols.
Drop USE_GROFF, there are only minor differences in the output.

OK markus@ (MAINTAINER) and naddy@.

(I don't think i ever fixed a seventeen-year-old bug in a port
before this one.  Naddy would say, "Nobody reads manuals, not even
the author of the manual."  Or the porter.  Not even in OpenBSD.
More's the pity.)
2015-04-18 20:35:25 +00:00

35 lines
865 B
Makefile

# $OpenBSD: Makefile,v 1.28 2015/04/18 20:35:25 schwarze Exp $
COMMENT= X11 version of Rob Pike's editor, sam
DISTNAME= sam
PKGNAME= sam-4.3.19980506
REVISION= 1
CATEGORIES= plan9
MASTER_SITES= ftp://netlib.bell-labs.com/netlib/research/ \
http://netlib.bell-labs.com/netlib/research/
EXTRACT_SUFX= .shar.gz
EXTRACT_CASES= *.shar.gz) ${GZIP_CMD} -dc ${FULLDISTDIR}/$$archive | /bin/sh;;
MAINTAINER= Markus Friedl <markus@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= X11 Xt c pthread-stubs xcb
WRKDIST= ${WRKDIR}
NO_TEST= Yes
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>