aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-08-04 01:11:22 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-08-04 01:11:22 +0800
commit6737d3f8fbe59076107f16cd49c53ed48b9feaae (patch)
treef6b03832ba5469d7141b79a84a6c84d4a896835b /mail
parent16ae0e06d5c3211e704840738306b558a9ab5a0e (diff)
downloadfreebsd-ports-gnome-6737d3f8fbe59076107f16cd49c53ed48b9feaae.tar.gz
freebsd-ports-gnome-6737d3f8fbe59076107f16cd49c53ed48b9feaae.tar.zst
freebsd-ports-gnome-6737d3f8fbe59076107f16cd49c53ed48b9feaae.zip
- Fix shebangs
- Add NO_ARCH - Cosmetic fix
Diffstat (limited to 'mail')
-rw-r--r--mail/tmda/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/mail/tmda/Makefile b/mail/tmda/Makefile
index d9d65f3268bf..f1ec2e344e47 100644
--- a/mail/tmda/Makefile
+++ b/mail/tmda/Makefile
@@ -3,7 +3,7 @@
PORTNAME= tmda
PORTVERSION= 1.1.12
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail python
MASTER_SITES= ftp://tmda.net/pub/tmda/releases/ \
LOCAL/sergei
@@ -11,12 +11,13 @@ MASTER_SITES= ftp://tmda.net/pub/tmda/releases/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Python-based SPAM reduction system
-OPTIONS_DEFINE= CDB DOCS EXAMPLES
-CDB_RUN_DEPENDS=${PYTHON_SITELIBDIR}/cdbmodule.so:${PORTSDIR}/databases/py-cdb
-
-USES= python tar:tgz
+LICENSE= GPLv2 # or later
+LICENSE_FILE= ${WRKSRC}/COPYING
+USES= python shebangfix tar:tgz
+SHEBANG_FILES= contrib/tofmipd.init
SUB_FILES= pkg-message
+NO_ARCH= yes
DOCS= CODENAMES CRYPTO README THANKS NEWS UPGRADE
SAMPLES= tmda.el tofmipd.sysconfig vtmdarc
@@ -25,6 +26,9 @@ SCRIPTS= collectaddys def2html printcdb printdbm sendit.sh \
update-internaldomains vadduser-tmda vmailmgr-vdir.sh \
vpopmail-vdir.sh wrapfd3.sh
+OPTIONS_DEFINE= CDB DOCS EXAMPLES
+CDB_RUN_DEPENDS=${PYTHON_SITELIBDIR}/cdbmodule.so:${PORTSDIR}/databases/py-cdb
+
do-build:
cd ${WRKSRC} && ${PYTHON_CMD} ./compileall