1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/mail/vmailmgr/Makefile
2015-06-21 13:45:22 +00:00

38 lines
835 B
Makefile

# 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= autoreconf gmake perl5 python
GNU_CONFIGURE= yes
USE_PERL5= build
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>