Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Sep 2014 21:05:21 +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: r368529 - head/deskutils/fengoffice
Message-ID:  <201409182105.s8IL5Lb6064298@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Thu Sep 18 21:05:21 2014
New Revision: 368529
URL: http://svnweb.freebsd.org/changeset/ports/368529
QAT: https://qat.redports.org/buildarchive/r368529/

Log:
  - Allow staging as a regular user
  - Bump portrevision as files were not packaged with intended owner

Modified:
  head/deskutils/fengoffice/Makefile

Modified: head/deskutils/fengoffice/Makefile
==============================================================================
--- head/deskutils/fengoffice/Makefile	Thu Sep 18 21:02:57 2014	(r368528)
+++ head/deskutils/fengoffice/Makefile	Thu Sep 18 21:05:21 2014	(r368529)
@@ -3,6 +3,7 @@
 
 PORTNAME=	fengoffice
 PORTVERSION=	2.3.2.1
+PORTREVISION=	1
 CATEGORIES=	deskutils
 MASTER_SITES=	SF/opengoo/${PORTNAME}/${PORTNAME}_${PORTVERSION}
 DISTNAME=	${PORTNAME}_${PORTVERSION}
@@ -35,22 +36,18 @@ post-extract:
 
 pre-install:
 	@${RM} -f ${PLIST}
-
+	@${ECHO_CMD} -e '@owner ${WWWOWN}\n@group ${WWWGRP}' >> ${PLIST}
 	@cd ${WRKSRC} && \
 		${FIND} . -type f | ${SORT} | ${SED} -e 's|^|www/fengoffice/|' -e 's|\./||g' >> ${PLIST} && \
 			${FIND} . -type d | ${SORT} -r | ${SED} -e 's|^|@dirrm www/fengoffice|' -e 's|\.||g' >> ${PLIST}
-
+	@${ECHO_CMD} -e '@owner root\n@group wheel' >> ${PLIST}
 	@${ECHO_CMD} "%%PORTDOCS%%%%DOCSDIR%%/README" >> ${PLIST}
 	@${ECHO_CMD} "%%PORTDOCS%%@dirrm %%DOCSDIR%%" >> ${PLIST}
 
 do-install:
 	@${MKDIR} ${STAGEDIR}${FENGOFFICE_WWWDIR}
 	cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${FENGOFFICE_WWWDIR}
-	${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${FENGOFFICE_WWWDIR}
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-docs/README ${STAGEDIR}${DOCSDIR}
 
-post-install:
-	@${CAT} ${PKGMESSAGE}
-
 .include <bsd.port.mk>



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