2009-03-24 18:14:09 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.35 2009/03/24 18:14:10 jasper Exp $
|
2002-01-19 00:57:07 +00:00
|
|
|
|
2007-09-16 00:17:04 +00:00
|
|
|
COMMENT= reduce the amount of SPAM/UCE (junk-mail)
|
2002-01-19 00:57:07 +00:00
|
|
|
|
2006-03-13 18:31:21 +00:00
|
|
|
DISTNAME= tmda-1.0.3
|
2009-03-24 18:14:09 +00:00
|
|
|
PKGNAME= ${DISTNAME}p4
|
2002-01-19 00:57:07 +00:00
|
|
|
CATEGORIES= mail
|
2002-10-27 17:21:39 +00:00
|
|
|
|
2002-12-12 01:25:36 +00:00
|
|
|
HOMEPAGE= http://tmda.net/
|
2003-10-21 18:18:31 +00:00
|
|
|
MAINTAINER= Dave Steinberg <dave@redterror.net>
|
2002-01-19 00:57:07 +00:00
|
|
|
|
|
|
|
# BSD-style
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2004-02-14 22:25:25 +00:00
|
|
|
MASTER_SITES= http://tmda.net/releases/stable/
|
2002-01-19 00:57:07 +00:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2006-03-13 18:31:21 +00:00
|
|
|
MODULES= lang/python
|
2003-04-30 14:37:37 +00:00
|
|
|
|
2002-12-12 01:25:36 +00:00
|
|
|
NO_REGRESS= Yes
|
2002-01-19 00:57:07 +00:00
|
|
|
|
2003-04-30 14:37:37 +00:00
|
|
|
CONTRIB_FILES= collectaddys printcdb sample.config sendit.sh \
|
|
|
|
def2html printdbm tmda.el vadduser-tmda
|
|
|
|
|
2002-01-19 00:57:07 +00:00
|
|
|
do-build:
|
2006-06-03 15:42:51 +00:00
|
|
|
@cd ${WRKSRC} && ${MODPY_BIN} ./compileall
|
2002-01-19 00:57:07 +00:00
|
|
|
|
|
|
|
do-install:
|
2003-02-04 14:42:59 +00:00
|
|
|
@perl -pi -e 's:htdocs:${TRUEPREFIX}/share/doc/tmda:' ${WRKSRC}/INSTALL
|
2006-03-13 18:31:21 +00:00
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${MODPY_SITEPKG}/TMDA/pythonlib/email
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/TMDA/*.py* ${DESTDIR}${MODPY_SITEPKG}/TMDA
|
2002-12-12 01:25:36 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/TMDA/pythonlib/email/*.py* \
|
2006-03-13 18:31:21 +00:00
|
|
|
${DESTDIR}${MODPY_SITEPKG}/TMDA/pythonlib/email
|
2002-01-19 00:57:07 +00:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/tmda
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/templates/*.txt ${PREFIX}/share/tmda
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/tmda-* ${PREFIX}/bin
|
2002-12-12 01:25:36 +00:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tmda/contrib
|
2002-02-20 20:54:35 +00:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/tmda
|
2002-12-12 01:25:36 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/contrib/sample.config \
|
|
|
|
${PREFIX}/share/examples/tmda
|
2003-11-17 21:02:25 +00:00
|
|
|
${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
|
2003-04-30 14:37:37 +00:00
|
|
|
.for f in ${CONTRIB_FILES}
|
2002-12-12 01:25:36 +00:00
|
|
|
${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
|
2002-01-19 00:57:07 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|