aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2002-06-01 03:57:38 +0800
committermi <mi@FreeBSD.org>2002-06-01 03:57:38 +0800
commit3ee359ba3231273cbe606c89f489476604a2ea14 (patch)
treee65adc24082db4e6dac2b1646505f12ba4eebbd2 /devel
parente4c3f73cf04bef108c19fbc830de29cbe9d1b525 (diff)
downloadfreebsd-ports-gnome-3ee359ba3231273cbe606c89f489476604a2ea14.tar.gz
freebsd-ports-gnome-3ee359ba3231273cbe606c89f489476604a2ea14.tar.zst
freebsd-ports-gnome-3ee359ba3231273cbe606c89f489476604a2ea14.zip
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')
-rw-r--r--devel/frink/Makefile12
-rw-r--r--devel/frink/distinfo2
-rw-r--r--devel/frink/files/Makefile.bsd1
-rw-r--r--devel/frink/files/patch-indent42
-rw-r--r--devel/frink/pkg-plist4
5 files changed, 50 insertions, 11 deletions
diff --git a/devel/frink/Makefile b/devel/frink/Makefile
index ba3601dd5e64..ef794343b1ba 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>
diff --git a/devel/frink/distinfo b/devel/frink/distinfo
index f95ec856a981..0714941518bf 100644
--- a/devel/frink/distinfo
+++ b/devel/frink/distinfo
@@ -1 +1 @@
-MD5 (frink-2.0.11.tar.gz) = a19bed2529e3b2f174815d33c4233fbe
+MD5 (frink-2.1.5.tar.gz) = 3115ca10c8b5707da44343862b2ab3d5
diff --git a/devel/frink/files/Makefile.bsd b/devel/frink/files/Makefile.bsd
index c9834f3a24cb..0faad905f035 100644
--- a/devel/frink/files/Makefile.bsd
+++ b/devel/frink/files/Makefile.bsd
@@ -3,5 +3,6 @@ SRCS= frink.c output.c token.c tcl.c config.c
BINDIR= ${PREFIX}/bin
MANDIR= ${PREFIX}/man/man
+NOMAN= regretfully
.include <bsd.prog.mk>
diff --git a/devel/frink/files/patch-indent b/devel/frink/files/patch-indent
index a2aa47e9b62b..7defc2e83e30 100644
--- a/devel/frink/files/patch-indent
+++ b/devel/frink/files/patch-indent
@@ -1,10 +1,36 @@
---- frink.c Mon Apr 23 10:31:13 2001
-+++ frink.c Tue May 8 15:47:35 2001
-@@ -34 +34 @@
+This patch sets frink's indentation defaults closer to the FreeBSD's
+style(9) guidelines.
+--- README Thu Jun 21 10:49:12 2001
++++ README Fri May 31 15:04:26 2002
+@@ -33,3 +33,3 @@
+ -c <n>
+- set further indent for continuations to n. default = 2
++ set further indent for continuations to n. default = 4
+
+@@ -77,3 +77,3 @@
+ -i <n>
+- set indent for each level to n. default = 4
++ set indent for each level to n. default = 8
+
+--- README.html Thu Jun 21 10:49:12 2001
++++ README.html Fri May 31 15:04:48 2002
+@@ -49,3 +49,3 @@
+
+-<dd>set further indent for continuations to n. default = 2</dd>
++<dd>set further indent for continuations to n. default = 4</dd>
+
+@@ -150,3 +150,3 @@
+
+-<dd>set indent for each level to n. default = 4</dd>
++<dd>set indent for each level to n. default = 8</dd>
+
+Common subdirectories: work/frink-2.1.5/Windows and frink-2.1.5/Windows
+--- frink.c Thu Jun 21 10:49:12 2001
++++ frink.c Fri May 31 15:05:31 2002
+@@ -37,4 +37,4 @@
+ int width = 80;
-int indent = 4;
+-int contdent = 2;
+int indent = 8;
---- frink.1 Mon Apr 23 10:31:13 2001
-+++ frink.1 Tue May 8 15:47:48 2001
-@@ -79 +79 @@
--Set the indentation for each level. (default = 4)
-+Set the indentation for each level. (default = 8)
++int contdent = 4;
+ int nocomments = 0;
diff --git a/devel/frink/pkg-plist b/devel/frink/pkg-plist
index 158e39605b42..a3a08d2adc20 100644
--- a/devel/frink/pkg-plist
+++ b/devel/frink/pkg-plist
@@ -1 +1,5 @@
bin/frink
+%%PORTDOCS%%%%DOCSDIR%%/CHANGES
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/README.html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%