summaryrefslogtreecommitdiffstats
path: root/devel/frink/Makefile
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2002-05-31 19:57:38 +0000
committermi <mi@FreeBSD.org>2002-05-31 19:57:38 +0000
commit3ee359ba3231273cbe606c89f489476604a2ea14 (patch)
treee65adc24082db4e6dac2b1646505f12ba4eebbd2 /devel/frink/Makefile
parente4c3f73cf04bef108c19fbc830de29cbe9d1b525 (diff)
downloadFreeBSD-ports-3ee359ba3231273cbe606c89f489476604a2ea14.zip
FreeBSD-ports-3ee359ba3231273cbe606c89f489476604a2ea14.tar.gz
Finally upgrade to the today's latest -- 2.1.5. Man-page has vanished,
but the executable has big ``usage'' function and some documentation. Use an interesting way of passing the DOCSDIR down through PLIST_SUB and wonder why bsd.port.mk does not do this for everybody.
Diffstat (limited to 'devel/frink/Makefile')
-rw-r--r--devel/frink/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/devel/frink/Makefile b/devel/frink/Makefile
index ba3601d..ef79434 100644
--- a/devel/frink/Makefile
+++ b/devel/frink/Makefile
@@ -6,15 +6,23 @@
#
PORTNAME= frink
-PORTVERSION= 2.0.11
+PORTVERSION= 2.1.5
CATEGORIES= devel
MASTER_SITES= ftp://catless.ncl.ac.uk/pub/
MAINTAINER= mi@aldan.algebra.com
-MAN1= ${PORTNAME}.1
+#MAN1= ${PORTNAME}.1
MANCOMPRESSED= maybe
MAKEFILE= ${FILESDIR}/Makefile.bsd
+.ifndef NOPORTDOCS
+PLIST_SUB+= DOCSDIR=${DOCSDIR:S,${PREFIX:S,/$,,}/,,}
+post-install:
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/CHANGES ${WRKSRC}/README \
+ ${WRKSRC}/README.html ${DOCSDIR}
+.endif
+
.include <bsd.port.mk>
OpenPOWER on IntegriCloud