diff options
Diffstat (limited to 'mail/tmda/Makefile')
-rw-r--r-- | mail/tmda/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/mail/tmda/Makefile b/mail/tmda/Makefile index 03d8798d303c..c3707578e301 100644 --- a/mail/tmda/Makefile +++ b/mail/tmda/Makefile @@ -6,7 +6,7 @@ # PORTNAME= tmda -PORTVERSION= 0.22 +PORTVERSION= 0.34 CATEGORIES= mail python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= tmda @@ -14,8 +14,16 @@ EXTRACT_SUFX= .tgz MAINTAINER= jason@mastaler.com +RUN_DEPENDS= ${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail + USE_PYTHON= yes +.if exists(${PREFIX}/qmail/bin/qmail-send) +QMAIL_DIR?= ${PREFIX}/qmail +.else +QMAIL_DIR?= /var/qmail +.endif + do-build: (cd ${WRKSRC}; ${PYTHON_CMD} ./setup) |