1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

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.
This commit is contained in:
Adam Weinberger 2014-07-19 19:01:43 +00:00
parent 60c21a83ee
commit 632ffd1c03
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362279
2 changed files with 15 additions and 39 deletions

View File

@ -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}_release
MAINTAINER= ports@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%%
PLIST_SUB+= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
OPTIONS_DEFINE= PGSQL APACHE LIGHTTPD
OPTIONS_DEFAULT= APACHE
OPTIONS_DEFAULT=APACHE
NO_STAGE= yes
.include <bsd.port.options.mk>
PGSQL_USE= PHP=pgsql
APACHE_USE= APACHE_RUN=22+
LIGHTTPD_RUN_DEPENDS= lighttpd:${PORTSDIR}/www/lighttpd
.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
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>

View File

@ -1,3 +1,5 @@
@owner %%WWWOWN%%
@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
@exec mkdir -p %D/%%WWWDIR%%/ext-3.3.0/src/ext-core/test/yui_2.6.0/yui/build/yuitest/assets/skins/sam
@exec mkdir -p %D/%%WWWDIR%%/ext-3.3.0/src/ext-core/test/yui_2.6.0/yui/build/logger/assets/skins/sam
@exec mkdir -p %D/%%WWWDIR%%/ext-3.3.0/src/ext-core/examples/tabs/images
@exec mkdir -p %D/%%WWWDIR%%/ext-3.3.0/src/ext-core/examples/rating/images
@exec mkdir -p %D/%%WWWDIR%%/ext-3.3.0/src/ext-core/examples/menu/images
@exec mkdir -p %D/%%WWWDIR%%/ext-3.3.0/src/ext-core/examples/lightbox/images
@exec mkdir -p %D/%%WWWDIR%%/ext-3.3.0/src/ext-core/examples/jsonp/images
@exec mkdir -p %D/%%WWWDIR%%/ext-3.3.0/src/ext-core/examples/combo
@exec mkdir -p %D/%%WWWDIR%%/ext-3.3.0/src/ext-core/examples/carousel/slides
@exec mkdir -p %D/%%WWWDIR%%/ext-3.3.0/src/ext-core/examples/carousel/images
@exec mkdir -p %D/%%WWWDIR%%/ext-3.3.0/resources/images/vista/tree
@exec mkdir -p %D/%%WWWDIR%%/ext-3.3.0/resources/images/vista/dd
@exec mkdir -p %D/%%WWWDIR%%/ext-3.3.0/examples/spinner/images
@dirrmtry %%WWWDIR%%