diff options
author | beat <beat@FreeBSD.org> | 2013-09-26 21:14:25 +0800 |
---|---|---|
committer | beat <beat@FreeBSD.org> | 2013-09-26 21:14:25 +0800 |
commit | 13c72f6414918c748b981bf7f3e0cd90d96aa04c (patch) | |
tree | 2a8eea88080e9abe8eb7dae4f3051d745ee6b727 /deskutils | |
parent | ab3fcbfc74482ea1a6770aedfa87c31f23d52d9b (diff) | |
download | freebsd-ports-gnome-13c72f6414918c748b981bf7f3e0cd90d96aa04c.tar.gz freebsd-ports-gnome-13c72f6414918c748b981bf7f3e0cd90d96aa04c.tar.zst freebsd-ports-gnome-13c72f6414918c748b981bf7f3e0cd90d96aa04c.zip |
- Depend on devel/xdg-utils instead of installing its own version [1]
- Support staging
- Bump PORTREVISION
PR: ports/181920 [1]
Submitted by: G. Paul Ziemba <p-fbsd-bugs@ziemba.us> [1]
Diffstat (limited to 'deskutils')
-rw-r--r-- | deskutils/thinkingrock/Makefile | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/deskutils/thinkingrock/Makefile b/deskutils/thinkingrock/Makefile index b3aa8e01f99e..17229d42f773 100644 --- a/deskutils/thinkingrock/Makefile +++ b/deskutils/thinkingrock/Makefile @@ -3,7 +3,7 @@ PORTNAME= thinkingrock PORTVERSION= 2.2.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= deskutils java MASTER_SITES= SF/${PORTNAME}/ThinkingRock/TR%20${PORTVERSION} DISTNAME= tr-${PORTVERSION} @@ -11,13 +11,15 @@ DISTNAME= tr-${PORTVERSION} MAINTAINER= beat@FreeBSD.org COMMENT= Application for collecting and processing your thoughts +RUN_DEPENDS= ${LOCALBASE}/bin/xdg-open:${PORTSDIR}/devel/xdg-utils \ + ${LOCALBASE}/bin/xdg-email:${PORTSDIR}/devel/xdg-utils + USE_JAVA= yes JAVA_VERSION= 1.6+ NO_BUILD= yes SUB_FILES= pkg-message -NO_STAGE= yes .include <bsd.port.pre.mk> post-patch: @@ -29,15 +31,11 @@ post-patch: ${WRKSRC}/bin/tr_w.exe ${WRKSRC}/etc/tr.conf.bak do-install: - @${MKDIR} ${PREFIX}/${PORTNAME} - @${CP} -r ${WRKSRC}/* ${PREFIX}/${PORTNAME} - @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/${PORTNAME} - @${LN} -sf ${PREFIX}/${PORTNAME}/bin/tr ${PREFIX}/bin/${PORTNAME} - @${LN} -sf ${PREFIX}/${PORTNAME}/bin/xdg-email ${PREFIX}/bin/xdg-email - @${LN} -sf ${PREFIX}/${PORTNAME}/bin/xdg-open ${PREFIX}/bin/xdg-open + @${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME} + @${CP} -r ${WRKSRC}/* ${STAGEDIR}${PREFIX}/${PORTNAME} + @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${PREFIX}/${PORTNAME} + @${LN} -sf ${STAGEDIR}${PREFIX}/${PORTNAME}/bin/tr ${STAGEDIR}${PREFIX}/bin/${PORTNAME} @${ECHO} bin/${PORTNAME} >> ${TMPPLIST} - @${ECHO} bin/xdg-email >> ${TMPPLIST} - @${ECHO} bin/xdg-open >> ${TMPPLIST} @(cd ${WRKSRC}; ${FIND} . ! -type d) | ${SORT} | ${SED} "s|^.|${PORTNAME}|" >> ${TMPPLIST} @(cd ${WRKSRC}; ${FIND} . -type d) | ${SORT} -r | ${SED} "s|^.|@dirrm ${PORTNAME}|" >> ${TMPPLIST} @(cd ${WRKSRC}; ${FIND} . -type d -empty) | ${SORT} -r | ${SED} "s|^.|@exec mkdir -p ${PORTNAME}|" >> ${TMPPLIST} |