mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
63f96859ce
bapt contributed to the qmail.mk as well - Trim headers USES= qmail:run will add qmail into RUN_DEPENDS USES= qmail:build will add qmail into BUILD_DEPENDS USES= qmail[:both] will add qmail into both RUN and BUILD DEPENDS USES= qmail:vars will set QMAIL_PREFIX With hat: portmgr
36 lines
818 B
Makefile
36 lines
818 B
Makefile
# Created by: nbm
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= vqadmin
|
|
PORTVERSION= 2.3.6
|
|
PORTREVISION= 1
|
|
CATEGORIES= mail
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= oliver@FreeBSD.org
|
|
COMMENT= A cgi-based Virtual Qmail Domains Administrator
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/vpopmail/lib/libvpopmail.a:${PORTSDIR}/mail/vpopmail
|
|
RUN_DEPENDS= ${LOCALBASE}/vpopmail/lib/libvpopmail.a:${PORTSDIR}/mail/vpopmail
|
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
USES= qmail:vars
|
|
|
|
CGIBINDIR?= www/cgi-bin-dist
|
|
WEBDATADIR?= www/data-dist
|
|
|
|
CONFIGURE_ARGS= --enable-cgibindir=${PREFIX}/${CGIBINDIR} \
|
|
--enable-htmldir=${PREFIX}/${WEBDATADIR} \
|
|
--enable-qmaildir=${QMAIL_PREFIX}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
PLIST_SUB+= CGIBINDIR=${CGIBINDIR} WEBDATADIR=${WEBDATADIR}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \
|
|
${WRKSRC}/Makefile.in
|
|
|
|
.include <bsd.port.post.mk>
|