mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
- 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]
This commit is contained in:
parent
616c280fa8
commit
e5e68b355b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=328354
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user