aboutsummaryrefslogtreecommitdiffstats
path: root/mail/vmailmgr/Makefile
blob: e892c99917a320f940f565faddb1fc1966d1a2cc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Created by: Mij <mij@bitchx.it>
# $FreeBSD$

PORTNAME=   vmailmgr
PORTVERSION=    0.97
PORTREVISION=   2
CATEGORIES= mail
MASTER_SITES=   http://www.vmailmgr.org/current/    \
        http://mirrors.dataloss.nl/vmailmgr.org/current/

MAINTAINER= mij@bitchx.it
COMMENT=    Virtual domain manager for qmail


# get python paths (PYTHON_SITELIBDIR) in case we install the python API
USES=           gmake perl5
USE_AUTOTOOLS=      autoconf autoheader automake aclocal
USE_PYTHON=     yes
USE_PERL5=      build
AUTOMAKE_ARGS+=     --add-missing -Wno-portability

OPTIONS_DEFINE=     PYTHONLIBS
PYTHONLIBS_DESC=    Install the Python API

.include <bsd.port.options.mk>

.if defined(PREFIX)
CONFIGURE_ARGS+=    --prefix=${PREFIX}
.endif

.if ${PORT_OPTIONS:MPYTHONLIB}
CONFIGURE_ARGS+=    --with-pythonapi=${PYTHON_SITELIBDIR}
PLIST_SUB+=     PYTHON_SITELIBDIR="${PYTHON_SITELIBDIR}"
PLIST_SUB+=     PYTHON=""
.else
PLIST_SUB+=     PYTHON="@comment "
.endif

.include <bsd.port.mk>