d1169b7642
-- TMDA is an OSI certified software application designed to significantly reduce the amount of SPAM/UCE (junk-mail) you receive. TMDA combines a "whitelist" (for known/trusted senders), a "blacklist" (for undesired senders), and a cryptographically enhanced confirmation system (for unknown, but legitimate senders). TMDA strives to be more effectual, yet less time-consuming than traditional filters. WWW: http://tmda.sourceforge.net/
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2002/01/19 00:57:07 lebel Exp $
|
|
|
|
COMMENT= "reduce the amount of SPAM/UCE (junk-mail)"
|
|
|
|
VERSION= 0.44
|
|
DISTNAME= tmda-${VERSION}
|
|
CATEGORIES= mail
|
|
NEED_VERSION= 1.503
|
|
HOMEPAGE= http://tmda.sourceforge.net/
|
|
|
|
MAINTAINER= David Lebel <lebel@openbsd.org>
|
|
|
|
# BSD-style
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= tmda
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
RUN_DEPENDS+= ::lang/python
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
|
|
PYTHON_VER= 2.1
|
|
PYTHON_LIBDIR= lib/python${PYTHON_VER}
|
|
SUBST_VARS= PYTHON_VER
|
|
|
|
do-build:
|
|
@cd ${WRKSRC}; ./compileall
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/${PYTHON_LIBDIR}/TMDA
|
|
${INSTALL_SCRIPT} ${WRKSRC}/TMDA/*.py* ${PREFIX}/${PYTHON_LIBDIR}/TMDA
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/tmda
|
|
${INSTALL_DATA} ${WRKSRC}/templates/*.txt ${PREFIX}/share/tmda
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/tmda-* ${PREFIX}/bin
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tmda
|
|
${INSTALL_DATA} ${WRKSRC}/contrib/sample.tmdarc ${PREFIX}/share/doc/tmda
|
|
|
|
.include <bsd.port.mk>
|