1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/mail/vexim/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

71 lines
1.7 KiB
Makefile

# New ports collection makefile for: vexim
# Date created: 6 June 2005
# Whom: John Oxley <john@yoafrica.com>
#
# $FreeBSD$
PORTNAME= vexim
PORTVERSION= 2.2.1
PORTREVISION= 1
CATEGORIES= mail www
MASTER_SITES= http://silverwraith.com/vexim/
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= sem@FreeBSD.org
COMMENT= A web interface for managing virtual domains for exim
RUN_DEPENDS= ${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB
VEXIMDIR= www/${PORTNAME}
WRKSRC= ${WRKDIR}/vexim2
SUB_FILES= pkg-message
NO_BUILD= yes
USE_PHP= gettext session
OPTIONS= MYSQL "Use MySQL" On \
PGSQL "Use PostgreSQL" Off
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_MYSQL) && !defined(WITH_PGSQL)
USE_MYSQL= yes
USE_PHP+= mysql
.endif
.if defined(WITH_PGSQL)
WITH_PGSQL= yes
USE_PHP+= pgsql
.endif
post-patch:
${FIND} ${WRKSRC} -name CVS -prune -exec ${RM} -r {} \;
do-install:
@${ECHO} "Installing in ${VEXIMDIR}"
${MKDIR} ${PREFIX}/${VEXIMDIR}
cd ${WRKSRC}/vexim && ${FIND} . \! -path '*.svn*' \
-type d -exec ${MKDIR} ${PREFIX}/${VEXIMDIR}/{} \; \
-o \! -path '*.svn*' -type f \
-exec ${INSTALL_DATA} {} ${PREFIX}/${VEXIMDIR}/{} \;
${MKDIR} ${DATADIR}
cd ${WRKSRC}/setup && ${FIND} . \! -path '*.svn*' \
-type d -exec ${MKDIR} ${DATADIR}/{} \; \
-o \! -path '*.svn*' -type f \
-exec ${INSTALL_DATA} {} ${DATADIR}/{} \;
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${FIND} docs \! -path '*.svn*' \
-type d -exec ${MKDIR} ${DOCSDIR}/{} \; \
-o \! -path '*.svn*' -type f \
-exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
.for i in INSTALL LICENSE README TODO
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>