aboutsummaryrefslogtreecommitdiff
path: root/deskutils/thinkingrock
diff options
context:
space:
mode:
authorBeat Gaetzi <beat@FreeBSD.org>2011-01-24 16:15:18 +0000
committerBeat Gaetzi <beat@FreeBSD.org>2011-01-24 16:15:18 +0000
commit7191e5b7aa61de10e544eb3c91889a364633ae7b (patch)
tree8d661291c6b9059069c6fac100dbf0783ae01a0b /deskutils/thinkingrock
parent905807b959dcb05e866672e060ce2420ac74afa1 (diff)
downloadports-7191e5b7aa61de10e544eb3c91889a364633ae7b.tar.gz
ports-7191e5b7aa61de10e544eb3c91889a364633ae7b.zip
Notes
Diffstat (limited to 'deskutils/thinkingrock')
-rw-r--r--deskutils/thinkingrock/Makefile10
-rw-r--r--deskutils/thinkingrock/distinfo1
2 files changed, 6 insertions, 5 deletions
diff --git a/deskutils/thinkingrock/Makefile b/deskutils/thinkingrock/Makefile
index d6e3da9ca69e..eed20dcc3051 100644
--- a/deskutils/thinkingrock/Makefile
+++ b/deskutils/thinkingrock/Makefile
@@ -7,6 +7,7 @@
PORTNAME= thinkingrock
PORTVERSION= 2.2.1
+PORTREVISION= 1
CATEGORIES= deskutils java
MASTER_SITES= SF/${PORTNAME}/ThinkingRock/TR%20${PORTVERSION}
DISTNAME= tr-${PORTVERSION}
@@ -24,10 +25,11 @@ SUB_FILES= pkg-message
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/bin/tr
- @${RM} ${WRKSRC}/bin/tr.bak
- @${RM} ${WRKSRC}/bin/tr.orig
- @${RM} ${WRKSRC}/bin/tr.exe
- @${RM} ${WRKSRC}/bin/tr_w.exe
+ @${REINPLACE_CMD} -e \
+ 's|default_options="|default_options="-J-Djava.endorsed.dirs=${PREFIX}/${PORTNAME}/tr/modules/ext/endorsed |' \
+ ${WRKSRC}/etc/tr.conf
+ @${RM} ${WRKSRC}/bin/tr.bak ${WRKSRC}/bin/tr.exe \
+ ${WRKSRC}/bin/tr_w.exe ${WRKSRC}/etc/tr.conf.bak
do-install:
@${MKDIR} ${PREFIX}/${PORTNAME}
diff --git a/deskutils/thinkingrock/distinfo b/deskutils/thinkingrock/distinfo
index 814f0f113f75..c49d2eebce81 100644
--- a/deskutils/thinkingrock/distinfo
+++ b/deskutils/thinkingrock/distinfo
@@ -1,3 +1,2 @@
-MD5 (tr-2.2.1.tar.gz) = a3d1405559becd7796eb931f1a324ea6
SHA256 (tr-2.2.1.tar.gz) = f54d3206fed91aacef776f3d66979bc0bb97893e3e922738fa3156c4fcdedc42
SIZE (tr-2.2.1.tar.gz) = 38697846