aboutsummaryrefslogtreecommitdiffstats
path: root/math/slgrace
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2007-10-12 01:26:03 +0800
committergarga <garga@FreeBSD.org>2007-10-12 01:26:03 +0800
commit9692f85518aff4ba20622473018b0cf8df057d86 (patch)
tree632d62231dcf6be2900a21f6b30292f150127c56 /math/slgrace
parentb697b497f0543a648ee38bfa4c1b3e1d5898803d (diff)
downloadfreebsd-ports-gnome-9692f85518aff4ba20622473018b0cf8df057d86.tar.gz
freebsd-ports-gnome-9692f85518aff4ba20622473018b0cf8df057d86.tar.zst
freebsd-ports-gnome-9692f85518aff4ba20622473018b0cf8df057d86.zip
- Update to 0.2.2
- Respect NOPORTDOCS
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