svn commit: r362279 - head/mail/dracmail

Adam Weinberger adamw at FreeBSD.org
Sat Jul 19 19:01:44 UTC 2014


Author: adamw
Date: Sat Jul 19 19:01:43 2014
New Revision: 362279
URL: http://svnweb.freebsd.org/changeset/ports/362279
QAT: https://qat.redports.org/buildarchive/r362279/

Log:
  Stage. Had to change the plist for some weird stuff, like the pkg-message
  appearing in it and a bunch of redundant "@exec mkdir" invocations, so a
  PORTREVISION bump.

Modified:
  head/mail/dracmail/Makefile
  head/mail/dracmail/pkg-plist

Modified: head/mail/dracmail/Makefile
==============================================================================
--- head/mail/dracmail/Makefile	Sat Jul 19 18:56:09 2014	(r362278)
+++ head/mail/dracmail/Makefile	Sat Jul 19 19:01:43 2014	(r362279)
@@ -3,6 +3,7 @@
 
 PORTNAME=	dracmail
 PORTVERSION=	0.1.2
+PORTREVISION=	1
 CATEGORIES=	mail
 MASTER_SITES=	SF/dracmail/release/
 DISTNAME=	dracMail-${PORTVERSION}_release
@@ -10,40 +11,26 @@ DISTNAME=	dracMail-${PORTVERSION}_releas
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	DracMail is a webmail interface built using PHP
 
-RUN_DEPENDS+=	php:${PORTSDIR}/lang/php5
-
 USE_PHP+=	mysql imap dom tidy iconv mbstring
 USE_MYSQL=	yes
 NO_BUILD=	yes
-WWWOWN=		www
-WWWGRP=		${WWWOWN}
 
-PKGMESSAGE=	${WRKDIR}/${PORTNAME}/pkg-message
-SUB_FILES=      pkg-message
-PLIST_DIRSTRY=	%%WWWDIR%%
+SUB_FILES=	pkg-message
+PLIST_SUB+=	WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
 
 OPTIONS_DEFINE=	PGSQL APACHE LIGHTTPD
-OPTIONS_DEFAULT=	APACHE
-
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFAULT=APACHE
 
-.if ${PORT_OPTIONS:MPGSQL}
-USE_PHP+=	pgsql
-.endif
-.if ${PORT_OPTIONS:MAPACHE}
-USE_APACHE_RUN=	22
-.endif
-.if ${PORT_OPTIONS:MLIGHTTPD}
-RUN_DEPENDS+=	lighttpd:${PORTSDIR}/www/lighttpd
-.endif
+PGSQL_USE=	PHP=pgsql
+APACHE_USE=	APACHE_RUN=22+
+LIGHTTPD_RUN_DEPENDS=	lighttpd:${PORTSDIR}/www/lighttpd
+
+post-extract:
+	@${MKDIR} ${WRKSRC}
+	-@${MV} ${WRKDIR}/* ${WRKSRC}
 
 do-install:
-	@${MKDIR} ${WWWDIR}
-	@${CP} -r ${WRKDIR}/* ${WWWDIR}
-	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
-
-post-install:
-	@${CAT} ${PKGMESSAGE}
+	@${MKDIR} ${STAGEDIR}${WWWDIR}
+	${CP} -rp ${WRKSRC}/* ${STAGEDIR}${WWWDIR}
 
 .include <bsd.port.mk>

Modified: head/mail/dracmail/pkg-plist
==============================================================================
--- head/mail/dracmail/pkg-plist	Sat Jul 19 18:56:09 2014	(r362278)
+++ head/mail/dracmail/pkg-plist	Sat Jul 19 19:01:43 2014	(r362279)
@@ -1,3 +1,5 @@
+ at owner %%WWWOWN%%
+ at group %%WWWGRP%%
 %%WWWDIR%%/INSTALL
 %%WWWDIR%%/LICENSE
 %%WWWDIR%%/api/SQL/dracmail.sql
@@ -7405,7 +7407,6 @@
 %%WWWDIR%%/objSynch.js
 %%WWWDIR%%/objThemes.js
 %%WWWDIR%%/objUIMenu.js
-%%WWWDIR%%/pkg-message
 %%WWWDIR%%/styles.css
 %%WWWDIR%%/tiny_mce/langs/en.js
 %%WWWDIR%%/tiny_mce/license.txt
@@ -8542,16 +8543,4 @@
 @dirrm %%WWWDIR%%/api/classes
 @dirrm %%WWWDIR%%/api/SQL
 @dirrmtry %%WWWDIR%%/api
- at exec mkdir -p %D/%%WWWDIR%%/ext-3.3.0/src/ext-core/test/yui_2.6.0/yui/build/yuitest/assets/skins/sam
- at exec mkdir -p %D/%%WWWDIR%%/ext-3.3.0/src/ext-core/test/yui_2.6.0/yui/build/logger/assets/skins/sam
- at exec mkdir -p %D/%%WWWDIR%%/ext-3.3.0/src/ext-core/examples/tabs/images
- at exec mkdir -p %D/%%WWWDIR%%/ext-3.3.0/src/ext-core/examples/rating/images
- at exec mkdir -p %D/%%WWWDIR%%/ext-3.3.0/src/ext-core/examples/menu/images
- at exec mkdir -p %D/%%WWWDIR%%/ext-3.3.0/src/ext-core/examples/lightbox/images
- at exec mkdir -p %D/%%WWWDIR%%/ext-3.3.0/src/ext-core/examples/jsonp/images
- at exec mkdir -p %D/%%WWWDIR%%/ext-3.3.0/src/ext-core/examples/combo
- at exec mkdir -p %D/%%WWWDIR%%/ext-3.3.0/src/ext-core/examples/carousel/slides
- at exec mkdir -p %D/%%WWWDIR%%/ext-3.3.0/src/ext-core/examples/carousel/images
- at exec mkdir -p %D/%%WWWDIR%%/ext-3.3.0/resources/images/vista/tree
- at exec mkdir -p %D/%%WWWDIR%%/ext-3.3.0/resources/images/vista/dd
- at exec mkdir -p %D/%%WWWDIR%%/ext-3.3.0/examples/spinner/images
+ at dirrmtry %%WWWDIR%%


More information about the svn-ports-head mailing list