svn commit: r348438 - head/mail/roundcube-login_info

Mark Felder feld at FreeBSD.org
Mon Mar 17 00:06:35 UTC 2014


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,^\.$$, at dirrmtry %%WWWDIR%%," \
-		-e "s,^\., at 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
- at dirrmtry %%WWWDIR%%
+%%PLUGDIR%%/CAcert-ssl-security.png
+%%PLUGDIR%%/README
+%%PLUGDIR%%/config.inc.php.dist
+%%PLUGDIR%%/login_info.php
+ at dirrmtry %%PLUGDIR%%


More information about the svn-ports-head mailing list