openbsd-ports/news/plor/Makefile

27 lines
737 B
Makefile

# $OpenBSD: Makefile,v 1.21 2014/08/26 14:16:28 naddy Exp $
COMMENT= alpha-release readers for reading SOUP and QWK packets
DISTNAME= plor-0.3.2
CATEGORIES= news
# License: GPL
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= c
MASTER_SITES= ftp://linux.psy.unipd.it/pub/pluto/developers/utils/
CONFIGURE_STYLE= gnu dest
DOCFILES= plor.html plor-1.html plor-2.html plor.txt
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/plor
.for f in ${DOCFILES}
${INSTALL_DATA} ${WRKSRC}/docs/${f} ${PREFIX}/share/doc/plor
.endfor
${INSTALL_MAN} ${FILESDIR}/plor.1 ${PREFIX}/man/man1/plor.1
perl -pi -e '$$a = '\''${PREFIX}/share/doc/plor/'\''; $$a =~ s/([^\w\/])/\\$$1/g; s/FUNKYTOKENHERE/$$a/' ${PREFIX}/man/man1/plor.1
.include <bsd.port.mk>