openbsd-ports/news/plor/Makefile

35 lines
933 B
Makefile
Raw Normal View History

2000-04-24 02:22:12 -04:00
# $OpenBSD: Makefile,v 1.8 2000/04/24 06:22:12 kevlo Exp $
# Original from: Ejovi Nuwere <ejovi@ejovi.net>
1997-12-19 21:36:06 -05:00
DISTNAME= plor-0.3.2
1997-12-19 21:36:06 -05:00
CATEGORIES= news
MAINTAINER= ports@OpenBSD.ORG
1997-12-19 21:36:06 -05:00
2000-02-12 03:02:07 -05:00
LICENSE_TYPE= GPL
2000-04-24 02:22:12 -04:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2000-02-12 03:02:07 -05:00
MASTER_SITES= ftp://ftp.psy.unipd.it/pub/pluto/developers/utils/
1997-12-19 21:36:06 -05:00
2000-04-24 02:22:12 -04:00
GNU_CONFIGURE= Yes
FAKE= Yes
1997-12-19 21:36:06 -05:00
DOCFILES= ../AUTHORS ../NEWS TODO plor-1.html plor-2.html \
plor.html plor.txt
post-install:
2000-04-24 02:22:12 -04:00
${INSTALL_PROGRAM} ${WRKSRC}/plor ${PREFIX}/bin
1997-12-19 21:36:06 -05:00
.if !defined{NOPORTDOCS}
2000-04-24 02:22:12 -04:00
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/plor
1997-12-19 21:36:06 -05:00
.for f in ${DOCFILES}
${INSTALL_DATA} ${WRKSRC}/docs/${f} ${PREFIX}/share/doc/plor
.endfor
.endif
${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>