Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Mar 2014 00:06:34 +0000 (UTC)
From:      Mark Felder <feld@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r348438 - head/mail/roundcube-login_info
Message-ID:  <201403170006.s2H06Y7W039082@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: feld
Date: Mon Mar 17 00:06:34 2014
New Revision: 348438
URL: http://svnweb.freebsd.org/changeset/ports/348438
QAT: https://qat.redports.org/buildarchive/r348438/

Log:
  Support STAGE

Modified:
  head/mail/roundcube-login_info/Makefile
  head/mail/roundcube-login_info/pkg-plist

Modified: head/mail/roundcube-login_info/Makefile
==============================================================================
--- head/mail/roundcube-login_info/Makefile	Sun Mar 16 23:17:21 2014	(r348437)
+++ head/mail/roundcube-login_info/Makefile	Mon Mar 17 00:06:34 2014	(r348438)
@@ -18,22 +18,14 @@ RUN_DEPENDS=	roundcube>=0.5:${PORTSDIR}/
 
 NO_BUILD=	yes
 
-WWWDIR=		${PREFIX}/www/roundcube/plugins/login_info
+WWWDIR=		${LOCALBASE}/www/roundcube
+PLUGDIR=	${WWWDIR}/plugins/login_info
+PLIST_SUB+=	PLUGDIR="www/roundcube/plugins/login_info"
 WRKSRC=		${WRKDIR}/login_info
 
-# This target is only meant to be used by the port maintainer.
-x-generate-plist: build
-	cd ${WRKSRC}; \
-	${FIND} . ! -type d ! -name '*.orig' | ${SORT} | \
-		${SED} -e "s,^\.,%%WWWDIR%%," >${.CURDIR}/pkg-plist.tmp ; \
-	${FIND} . -type d | ${SORT} -r | ${SED} \
-		-e "s,^\.$$,@dirrmtry %%WWWDIR%%," \
-		-e "s,^\.,@dirrm %%WWWDIR%%," >>${.CURDIR}/pkg-plist.tmp
-
-NO_STAGE=	yes
 do-install:
-	@${ECHO} "Installing in ${WWWDIR}"
-	${MKDIR} ${WWWDIR}
-	cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${WWWDIR}
+	@${ECHO} "Installing in ${PLUGDIR}"
+	${MKDIR} ${STAGEDIR}/${PLUGDIR}
+	cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}/${PLUGDIR}
 
 .include <bsd.port.mk>

Modified: head/mail/roundcube-login_info/pkg-plist
==============================================================================
--- head/mail/roundcube-login_info/pkg-plist	Sun Mar 16 23:17:21 2014	(r348437)
+++ head/mail/roundcube-login_info/pkg-plist	Mon Mar 17 00:06:34 2014	(r348438)
@@ -1,5 +1,5 @@
-%%WWWDIR%%/CAcert-ssl-security.png
-%%WWWDIR%%/README
-%%WWWDIR%%/config.inc.php.dist
-%%WWWDIR%%/login_info.php
-@dirrmtry %%WWWDIR%%
+%%PLUGDIR%%/CAcert-ssl-security.png
+%%PLUGDIR%%/README
+%%PLUGDIR%%/config.inc.php.dist
+%%PLUGDIR%%/login_info.php
+@dirrmtry %%PLUGDIR%%



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