aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-02-09 23:57:17 +0800
committerantoine <antoine@FreeBSD.org>2014-02-09 23:57:17 +0800
commit88478e7355636613c5a9c2f1abf6951d69f1d33f (patch)
tree87aadfe6a815439a0cdfa1c61b9db319f51b44c6
parentfcf26f78392bb75b41f65fb614f74ccb68f921c0 (diff)
downloadfreebsd-ports-gnome-88478e7355636613c5a9c2f1abf6951d69f1d33f.tar.gz
freebsd-ports-gnome-88478e7355636613c5a9c2f1abf6951d69f1d33f.tar.zst
freebsd-ports-gnome-88478e7355636613c5a9c2f1abf6951d69f1d33f.zip
- Fix a stage symlink
- Allow packaging as a regular user
-rw-r--r--deskutils/thinkingrock/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/deskutils/thinkingrock/Makefile b/deskutils/thinkingrock/Makefile
index 17229d42f773..529d126dc5c5 100644
--- a/deskutils/thinkingrock/Makefile
+++ b/deskutils/thinkingrock/Makefile
@@ -3,7 +3,7 @@
PORTNAME= thinkingrock
PORTVERSION= 2.2.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= deskutils java
MASTER_SITES= SF/${PORTNAME}/ThinkingRock/TR%20${PORTVERSION}
DISTNAME= tr-${PORTVERSION}
@@ -20,8 +20,6 @@ NO_BUILD= yes
SUB_FILES= pkg-message
-.include <bsd.port.pre.mk>
-
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/bin/tr
@${REINPLACE_CMD} -e \
@@ -33,14 +31,10 @@ post-patch:
do-install:
@${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}
+ @${LN} -sf ${PREFIX}/${PORTNAME}/bin/tr ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
@${ECHO} bin/${PORTNAME} >> ${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}
-post-install:
- @${CAT} ${PKGMESSAGE}
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>