Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Feb 2014 15:57:17 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r343516 - head/deskutils/thinkingrock
Message-ID:  <201402091557.s19FvHDW095405@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sun Feb  9 15:57:17 2014
New Revision: 343516
URL: http://svnweb.freebsd.org/changeset/ports/343516
QAT: https://qat.redports.org/buildarchive/r343516/

Log:
  - Fix a stage symlink
  - Allow packaging as a regular user

Modified:
  head/deskutils/thinkingrock/Makefile

Modified: head/deskutils/thinkingrock/Makefile
==============================================================================
--- head/deskutils/thinkingrock/Makefile	Sun Feb  9 15:56:08 2014	(r343515)
+++ head/deskutils/thinkingrock/Makefile	Sun Feb  9 15:57:17 2014	(r343516)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402091557.s19FvHDW095405>