openbsd-ports/mail/tmda/Makefile

42 lines
1.1 KiB
Makefile
Raw Normal View History

2002-02-15 14:53:42 -05:00
# $OpenBSD: Makefile,v 1.4 2002/02/15 19:53:43 matt Exp $
COMMENT= "reduce the amount of SPAM/UCE (junk-mail)"
2002-02-12 11:29:34 -05:00
VERSION= 0.46
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
2002-01-28 21:44:44 -05:00
MASTER_SITES= http://software.libertine.org/tmda/releases/
EXTRACT_SUFX= .tgz
2002-02-15 14:53:42 -05:00
RUN_DEPENDS+= :python-${PYTHON_VER}*:lang/python/${PYTHON_VER}
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>