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} |