View | Details | Raw Unified | Return to bug 124219
Collapse All | Expand All

(-)thinkingrock/Makefile (-9 / +11 lines)
Lines 6-20 Link Here
6
#
6
#
7
7
8
PORTNAME=	thinkingrock
8
PORTNAME=	thinkingrock
9
PORTVERSION=	2.0
9
PORTVERSION=	2.0.1
10
CATEGORIES=	deskutils java
10
CATEGORIES=	deskutils java
11
MASTER_SITES=	SF
11
MASTER_SITES=	SF
12
DISTNAME=	tr-${PORTVERSION}.epsilon
12
DISTNAME=	tr-${PORTVERSION}
13
13
14
MAINTAINER=	beat@chruetertee.ch
14
MAINTAINER=	beat@chruetertee.ch
15
COMMENT=	Application for collecting and processing your thoughts
15
COMMENT=	Application for collecting and processing your thoughts
16
16
17
USE_ZIP=	yes
18
USE_JAVA=	yes
17
USE_JAVA=	yes
19
JAVA_VERSION=	1.5+
18
JAVA_VERSION=	1.5+
20
NO_BUILD=	yes
19
NO_BUILD=	yes
Lines 22-39 Link Here
22
.include <bsd.port.pre.mk>
21
.include <bsd.port.pre.mk>
23
22
24
post-patch:
23
post-patch:
25
	@${RM} ${WRKSRC}/bin/thinkingrock.exe
24
	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/bin/tr
26
	@${RM} ${WRKSRC}/bin/thinkingrock_w.exe
25
	@${RM} ${WRKSRC}/install.html~
27
	@${RM} ${WRKSRC}/bin/thinkingrock.orig
26
	@${RM} ${WRKSRC}/bin/tr.bak
28
	@${RM} ${WRKSRC}/bin/xdg-email.orig
27
	@${RM} ${WRKSRC}/bin/tr.orig
29
	@${RM} ${WRKSRC}/bin/xdg-open.orig
30
28
31
do-install:
29
do-install:
32
	@${MKDIR} ${PREFIX}/${PORTNAME}
30
	@${MKDIR} ${PREFIX}/${PORTNAME}
33
	@${CP} -r ${WRKSRC}/* ${PREFIX}/${PORTNAME}
31
	@${CP} -r ${WRKSRC}/* ${PREFIX}/${PORTNAME}
34
	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/${PORTNAME}
32
	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/${PORTNAME}
35
	@${LN} -sf ${PREFIX}/${PORTNAME}/bin/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
33
	@${LN} -sf ${PREFIX}/${PORTNAME}/bin/tr ${PREFIX}/bin/${PORTNAME}
34
	@${LN} -sf ${PREFIX}/${PORTNAME}/bin/xdg-email ${PREFIX}/bin/xdg-email
35
	@${LN} -sf ${PREFIX}/${PORTNAME}/bin/xdg-open ${PREFIX}/bin/xdg-open
36
	@${ECHO} bin/${PORTNAME} >> ${TMPPLIST}
36
	@${ECHO} bin/${PORTNAME} >> ${TMPPLIST}
37
	@${ECHO} bin/xdg-email >> ${TMPPLIST}
38
	@${ECHO} bin/xdg-open >> ${TMPPLIST}
37
	@(cd ${WRKSRC}; ${FIND} . ! -type d) | ${SORT} | ${SED} "s|^.|${PORTNAME}|" >> ${TMPPLIST}
39
	@(cd ${WRKSRC}; ${FIND} . ! -type d) | ${SORT} | ${SED} "s|^.|${PORTNAME}|" >> ${TMPPLIST}
38
	@(cd ${WRKSRC}; ${FIND} . -type d) | ${SORT} -r | ${SED} "s|^.|@dirrm ${PORTNAME}|" >> ${TMPPLIST}
40
	@(cd ${WRKSRC}; ${FIND} . -type d) | ${SORT} -r | ${SED} "s|^.|@dirrm ${PORTNAME}|" >> ${TMPPLIST}
39
	@(cd ${WRKSRC}; ${FIND} . -type d -empty) | ${SORT} -r | ${SED} "s|^.|@exec mkdir -p ${PORTNAME}|" >> ${TMPPLIST}
41
	@(cd ${WRKSRC}; ${FIND} . -type d -empty) | ${SORT} -r | ${SED} "s|^.|@exec mkdir -p ${PORTNAME}|" >> ${TMPPLIST}
(-)thinkingrock/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (tr-2.0.epsilon.zip) = 404cd094a4f905366f79b54faef568a7
1
MD5 (tr-2.0.1.tar.gz) = 31f5472a8d5b7bb77aac12127d21a9b6
2
SHA256 (tr-2.0.epsilon.zip) = 3c8ddf37c0b8d840f078c12ecca441565a43377f21126317e64013c21d60486d
2
SHA256 (tr-2.0.1.tar.gz) = c71b9498fe1971eba1643a7f3fdd7259675fe5f18bd03628811c983f5e19a565
3
SIZE (tr-2.0.epsilon.zip) = 17160643
3
SIZE (tr-2.0.1.tar.gz) = 26135271
(-)thinkingrock/files/patch-bin_thinkingrock (-8 lines)
Lines 1-8 Link Here
1
--- bin/thinkingrock.orig	Wed Jan  2 12:29:07 2008
2
+++ bin/thinkingrock	Wed Jan  2 12:29:15 2008
3
@@ -1,4 +1,4 @@
4
-#!/bin/bash
5
+#!/bin/sh
6
 
7
 #
8
 # resolve symlinks
(-)thinkingrock/files/patch-bin_tr (+22 lines)
Line 0 Link Here
1
--- bin/tr.orig	2008-05-31 03:33:36.000000000 +0200
2
+++ bin/tr	2008-06-02 21:52:26.000000000 +0200
3
@@ -4,7 +4,7 @@
4
 # resolve symlinks
5
 #
6
 
7
-PRG=$0
8
+PRG=%%PREFIX%%/thinkingrock/bin/tr
9
 
10
 while [ -h "$PRG" ]; do
11
     ls=`ls -ld "$PRG"`
12
@@ -17,7 +17,9 @@
13
 done
14
 
15
 progdir=`dirname "$PRG"`
16
-APPNAME=`basename "$0"`
17
+APPNAME=tr
18
+
19
+cd $progdir
20
 
21
 if [ -f "$progdir/../etc/$APPNAME".conf ] ; then
22
     . "$progdir/../etc/$APPNAME".conf
(-)thinkingrock/files/patch-bin_xdg-email (-8 lines)
Lines 1-8 Link Here
1
--- bin/xdg-email.orig	Wed Jan  2 12:29:26 2008
2
+++ bin/xdg-email	Wed Jan  2 12:29:47 2008
3
@@ -1,4 +1,4 @@
4
-#!/bin/bash
5
+#!/bin/sh
6
 #---------------------------------------------
7
 #   xdg-email
8
 #
(-)thinkingrock/files/patch-bin_xdg-open (-8 lines)
Lines 1-8 Link Here
1
--- bin/xdg-open.orig	Wed Jan  2 12:29:33 2008
2
+++ bin/xdg-open	Wed Jan  2 12:29:40 2008
3
@@ -1,4 +1,4 @@
4
-#!/bin/bash
5
+#!/bin/sh
6
 #---------------------------------------------
7
 #   xdg-open
8
 #

Return to bug 124219