openbsd-ports/mail/tmda/Makefile

52 lines
1.6 KiB
Makefile
Raw Normal View History

2013-03-11 07:20:26 -04:00
# $OpenBSD: Makefile,v 1.39 2013/03/11 11:23:54 espie Exp $
COMMENT= reduce the amount of SPAM/UCE (junk-mail)
DISTNAME= tmda-1.0.3
2011-09-16 06:31:20 -04:00
REVISION = 7
CATEGORIES= mail
2002-10-27 12:21:39 -05:00
HOMEPAGE= http://tmda.net/
MAINTAINER= Dave Steinberg <dave@redterror.net>
# BSD-style
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= http://tmda.net/releases/stable/
EXTRACT_SUFX= .tgz
MODULES= lang/python
2013-03-11 07:20:26 -04:00
NO_TEST= Yes
CONTRIB_FILES= collectaddys printcdb sample.config sendit.sh \
def2html printdbm tmda.el vadduser-tmda
do-build:
2006-06-03 11:42:51 -04:00
@cd ${WRKSRC} && ${MODPY_BIN} ./compileall
do-install:
@perl -pi -e 's:htdocs:${TRUEPREFIX}/share/doc/tmda:' ${WRKSRC}/INSTALL
${INSTALL_DATA_DIR} ${DESTDIR}${MODPY_SITEPKG}/TMDA/pythonlib/email
${INSTALL_SCRIPT} ${WRKSRC}/TMDA/*.py* ${DESTDIR}${MODPY_SITEPKG}/TMDA
${INSTALL_SCRIPT} ${WRKSRC}/TMDA/pythonlib/email/*.py* \
${DESTDIR}${MODPY_SITEPKG}/TMDA/pythonlib/email
${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/contrib
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/tmda
${INSTALL_DATA} ${WRKSRC}/contrib/sample.config \
${PREFIX}/share/examples/tmda
${INSTALL_DATA} ${WRKSRC}/htdocs/*.html ${PREFIX}/share/doc/tmda
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tmda/img
${INSTALL_DATA} ${WRKSRC}/htdocs/img/*.png ${PREFIX}/share/doc/tmda/img
.for f in ${CONTRIB_FILES}
${INSTALL_DATA} ${WRKSRC}/contrib/$f ${PREFIX}/share/doc/tmda/contrib
.endfor
.for f in CRYPTO INSTALL README UPGRADE
${INSTALL_DATA} ${WRKSRC}/$f ${PREFIX}/share/doc/tmda
.endfor
.include <bsd.port.mk>