1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/mail/vqadmin/Makefile
2006-05-10 22:37:39 +00:00

42 lines
1.0 KiB
Makefile

# New ports collection makefile for: vqadmin
# Date created: 29 Mar 2001
# Whom: nbm
#
# $FreeBSD$
#
PORTNAME= vqadmin
PORTVERSION= 2.3.6
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= vqadmin
MAINTAINER= oliver@FreeBSD.org
COMMENT= A cgi-based Virtual Qmail Domains Administrator
LIB_DEPENDS= getline.1:${PORTSDIR}/devel/libgetline
BUILD_DEPENDS= ${LOCALBASE}/vpopmail/lib/libvpopmail.a:${PORTSDIR}/mail/vpopmail
RUN_DEPENDS= ${LOCALBASE}/vpopmail/lib/libvpopmail.a:${PORTSDIR}/mail/vpopmail
GNU_CONFIGURE= YES
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
WANT_QMAIL= yes
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>