aboutsummaryrefslogtreecommitdiff
path: root/math/slgrace
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2007-10-11 17:26:03 +0000
committerRenato Botelho <garga@FreeBSD.org>2007-10-11 17:26:03 +0000
commit9c76ec78c4eca00cdaa2fbc13eaa1a3282e7ba04 (patch)
tree50425c3e1d4b06b58abc1648b736c14ba36b2787 /math/slgrace
parent2515b7580d9f46ab7bdbdc7cb2abca21a1e6b21c (diff)
downloadports-9c76ec78c4eca00cdaa2fbc13eaa1a3282e7ba04.tar.gz
ports-9c76ec78c4eca00cdaa2fbc13eaa1a3282e7ba04.zip
Notes
Diffstat (limited to 'math/slgrace')
-rw-r--r--math/slgrace/Makefile15
-rw-r--r--math/slgrace/distinfo6
-rw-r--r--math/slgrace/pkg-plist2
3 files changed, 17 insertions, 6 deletions
diff --git a/math/slgrace/Makefile b/math/slgrace/Makefile
index aff994a91b76..841fa2dfec8b 100644
--- a/math/slgrace/Makefile
+++ b/math/slgrace/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= slgrace
-PORTVERSION= 0.2.1
-PORTREVISION= 1
+PORTVERSION= 0.2.2
CATEGORIES= math devel
MASTER_SITES= ftp://space.mit.edu/pub/davis/slang/v${SLANG_VER}/modules/grace/ \
ftp://ftp.fu-berlin.de/pub/unix/misc/slang/v${SLANG_VER}/modules/grace/ \
@@ -23,5 +22,17 @@ RUN_DEPENDS= grace:${PORTSDIR}/math/grace
SLANG_VER= 2.1
GNU_CONFIGURE= yes
+PORTDOCS= *
+PLIST_SUB= VERSION=${PORTVERSION}
+
+post-patch:
+.if defined(NOPORTDOCS)
+ @${REINPLACE_CMD} -e 's, install_docfiles,,' \
+ -e '/MKINSDIR.*DEST_DOC_FILES_INSTALL_DIR/d' \
+ ${WRKSRC}/src/Makefile.in
+.else
+ @${REINPLACE_CMD} -E 's,^(DOC_FILES_INSTALL_DIR) *= *.*$$,\1 = ${DOCSDIR},' \
+ ${WRKSRC}/src/Makefile.in
+.endif
.include <bsd.port.mk>
diff --git a/math/slgrace/distinfo b/math/slgrace/distinfo
index 0d0a0005d9f8..dc5d830495a0 100644
--- a/math/slgrace/distinfo
+++ b/math/slgrace/distinfo
@@ -1,3 +1,3 @@
-MD5 (slgrace-0.2.1.tar.gz) = 09cfd75bb51a1dfe6a9543afc9d0e9aa
-SHA256 (slgrace-0.2.1.tar.gz) = c0eacd0660c5d9a7b0681910b0a1eb4807215c8981dee3bddcac8157cbeeb766
-SIZE (slgrace-0.2.1.tar.gz) = 116929
+MD5 (slgrace-0.2.2.tar.gz) = 3730195209fef2849bcaf3dc96c584f3
+SHA256 (slgrace-0.2.2.tar.gz) = d3d10b506d4d4c3dbb7beb4d2cb3623833055742a023dc157f6e12e1c6a845ec
+SIZE (slgrace-0.2.2.tar.gz) = 117280
diff --git a/math/slgrace/pkg-plist b/math/slgrace/pkg-plist
index 5568aa86c0ed..4b09db76c24d 100644
--- a/math/slgrace/pkg-plist
+++ b/math/slgrace/pkg-plist
@@ -1,5 +1,5 @@
@comment $FreeBSD$
-lib/slang/v2/modules/grace-module.so.0.2.1
+lib/slang/v2/modules/grace-module.so.%%VERSION%%
lib/slang/v2/modules/grace-module.so
share/slsh/local-packages/help/grace.hlp
share/slsh/local-packages/grace.sl