aboutsummaryrefslogtreecommitdiff
path: root/textproc/grap
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-01-09 01:55:45 +0000
committerPatrick Li <pat@FreeBSD.org>2002-01-09 01:55:45 +0000
commit21bdaea66813f87c0b0905524d3a918c7439770f (patch)
tree7490b25ab587719df632e4d9556855ad78dab591 /textproc/grap
parent8aae4286760db19ee636b7f8846501b98e02cce2 (diff)
downloadports-21bdaea66813f87c0b0905524d3a918c7439770f.tar.gz
ports-21bdaea66813f87c0b0905524d3a918c7439770f.zip
Notes
Diffstat (limited to 'textproc/grap')
-rw-r--r--textproc/grap/Makefile8
-rw-r--r--textproc/grap/distinfo2
-rw-r--r--textproc/grap/files/patch-Makefile.in38
-rw-r--r--textproc/grap/pkg-plist5
4 files changed, 11 insertions, 42 deletions
diff --git a/textproc/grap/Makefile b/textproc/grap/Makefile
index 679656563a7b..6bf59c5140cd 100644
--- a/textproc/grap/Makefile
+++ b/textproc/grap/Makefile
@@ -6,14 +6,20 @@
#
PORTNAME= grap
-PORTVERSION= 1.21
+PORTVERSION= 1.22
CATEGORIES= textproc graphics
MASTER_SITES= http://www.lunabase.org/~faber/Vault/software/grap/
MAINTAINER= faber@lunabase.org
GNU_CONFIGURE= yes
+CONFIGURE_ARGS=--with-freebsd-ports
MAN1= grap.1
+post-install:
+.if !defined(NOPORTDOCS)
+ cd ${WRKSRC} && make install-docs
+.endif
+
.include <bsd.port.mk>
diff --git a/textproc/grap/distinfo b/textproc/grap/distinfo
index d3bc6ef30ec1..9733e1b9abe5 100644
--- a/textproc/grap/distinfo
+++ b/textproc/grap/distinfo
@@ -1 +1 @@
-MD5 (grap-1.21.tar.gz) = 249fc47d2b4e2a6522e626cf99705c71
+MD5 (grap-1.22.tar.gz) = c23b83b471db88f9d5d3bbe2a436cc98
diff --git a/textproc/grap/files/patch-Makefile.in b/textproc/grap/files/patch-Makefile.in
deleted file mode 100644
index ce8111ee766b..000000000000
--- a/textproc/grap/files/patch-Makefile.in
+++ /dev/null
@@ -1,38 +0,0 @@
---- Makefile.in.orig Tue Oct 30 03:58:17 2001
-+++ Makefile.in Tue Oct 30 04:00:22 2001
-@@ -5,7 +5,7 @@
- exec_prefix = @exec_prefix@
-
- BINDIR = @bindir@
--DEFINESDIR = @datadir@/grap
-+DEFINESDIR = @datadir@
- MANDIR = @mandir@/man1
-
- PROGS=grap
-@@ -85,7 +85,7 @@
- groff -mdoc grap.1 > grap.ps
-
- grap.1: grap.doc
-- sed "s#DEFINES_FILE#${DEFINESDIR}/grap.defines#g; s#EXAMPLES#${DEFINESDIR}/examples#g;" < grap.doc > grap.1 ;
-+ sed "s#DEFINES_FILE#${DEFINESDIR}/grap.defines#g; s#EXAMPLES#${DEFINESDIR}/examples/grap#g;" < grap.doc > grap.1 ;
-
- # The || true lines allow make to continue on systems where install -d
- # fails on existing directories.
-@@ -93,11 +93,14 @@
- strip grap || true
- ${INSTALL} -d ${BINDIR} || true
- ${INSTALL} -d ${MANDIR} || true
-- ${INSTALL} -d ${DEFINESDIR}/examples || true
-+ ${INSTALL} -d ${DEFINESDIR}/examples/grap || true
- ${INSTALL_PROGRAM} grap ${BINDIR}
- ${INSTALL_DATA} grap.1 ${MANDIR}
-- ${INSTALL_DATA} grap*.defines README CHANGES COPYRIGHT grap.man ${DEFINESDIR}
-- ${INSTALL_DATA} examples/*.d examples/example.ms examples/*.result examples/Makefile ${DEFINESDIR}/examples
-+.if !defined(NOPORTDOCS)
-+ ${INSTALL} -d ${DEFINESDIR}/doc/grap
-+ ${INSTALL_DATA} grap*.defines README CHANGES COPYRIGHT grap.man ${DEFINESDIR}/doc/grap
-+.endif
-+ ${INSTALL_DATA} examples/*.d examples/example.ms examples/*.result examples/Makefile ${DEFINESDIR}/examples/grap
-
- deinstall:
- ${RM} ${BINDIR}/grap
diff --git a/textproc/grap/pkg-plist b/textproc/grap/pkg-plist
index f6da7c201ae1..29aee9836b6b 100644
--- a/textproc/grap/pkg-plist
+++ b/textproc/grap/pkg-plist
@@ -2,9 +2,9 @@ bin/grap
%%PORTDOCS%%share/doc/grap/README
%%PORTDOCS%%share/doc/grap/CHANGES
%%PORTDOCS%%share/doc/grap/COPYRIGHT
-%%PORTDOCS%%share/doc/grap/grap.defines
-%%PORTDOCS%%share/doc/grap/grap.tex.defines
%%PORTDOCS%%share/doc/grap/grap.man
+share/grap/grap.defines
+share/grap/grap.tex.defines
share/examples/grap/400mpairs.d
share/examples/grap/400mtimes.d
share/examples/grap/400wpairs.d
@@ -23,4 +23,5 @@ share/examples/grap/result.SQ_MESH.Fail1.S3.R0.Global.Random1500.succ.result
share/examples/grap/result.SQ_MESH.Fail1.S3.R0.Local.Random1500.succ.result
share/examples/grap/result.SQ_MESH.Fail1.S3.R0.Hybrid.Random1500.succ.result
@dirrm share/examples/grap
+@dirrm share/grap
%%PORTDOCS%%@dirrm share/doc/grap