2001-06-26 22:56:36 -04:00
|
|
|
# New ports collection makefile for: tmda
|
|
|
|
# Date created: 08 June 2001
|
|
|
|
# Whom: Jason R. Mastaler <jason@mastaler.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= tmda
|
2002-04-26 22:26:44 -04:00
|
|
|
PORTVERSION= 0.52
|
2001-06-26 22:56:36 -04:00
|
|
|
CATEGORIES= mail python
|
2002-02-07 23:08:02 -05:00
|
|
|
MASTER_SITES= http://software.libertine.org/tmda/releases/ \
|
|
|
|
http://software.libertine.org/tmda/releases/old/
|
2001-06-26 22:56:36 -04:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2002-03-08 15:56:08 -05:00
|
|
|
MAINTAINER= mwm@mired.org
|
2001-06-26 22:56:36 -04:00
|
|
|
|
|
|
|
USE_PYTHON= yes
|
|
|
|
|
|
|
|
do-build:
|
2001-09-21 01:29:40 -04:00
|
|
|
(cd ${WRKSRC}; ${PYTHON_CMD} ./compileall)
|
2001-06-26 22:56:36 -04:00
|
|
|
|
2002-02-07 23:08:02 -05:00
|
|
|
pre-install:
|
|
|
|
@${SH} ${PKGREQ} INSTALL
|
|
|
|
|
2001-06-26 22:56:36 -04:00
|
|
|
do-install:
|
|
|
|
${MKDIR} ${PYTHON_SITELIBDIR}/TMDA
|
2001-06-29 10:44:30 -04:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/TMDA/*.py* ${PYTHON_SITELIBDIR}/TMDA
|
2001-06-26 22:56:36 -04:00
|
|
|
${MKDIR} ${PREFIX}/share/tmda
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/templates/*.txt ${PREFIX}/share/tmda
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/tmda-* ${PREFIX}/bin
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/tmda
|
2001-12-03 22:50:02 -05:00
|
|
|
${MKDIR} ${PREFIX}/share/doc/tmda/contrib
|
2001-11-06 12:17:13 -05:00
|
|
|
${MKDIR} ${PREFIX}/share/doc/tmda/htdocs
|
2002-03-08 19:37:49 -05:00
|
|
|
.for f in COPYING CRYPTO ChangeLog INSTALL README THANKS UPGRADE
|
2001-06-26 22:56:36 -04:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/$f ${PREFIX}/share/doc/tmda
|
|
|
|
.endfor
|
2001-12-03 22:50:02 -05:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/contrib/* ${PREFIX}/share/doc/tmda/contrib
|
2001-11-06 12:17:13 -05:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/htdocs/*.html ${PREFIX}/share/doc/tmda/htdocs
|
2001-06-26 22:56:36 -04:00
|
|
|
@${ECHO_MSG}
|
|
|
|
@${ECHO_MSG} See ${PREFIX}/share/doc/tmda/INSTALL for configuration instructions
|
2001-12-03 22:50:02 -05:00
|
|
|
@${ECHO_MSG} See ${PREFIX}/share/doc/tmda/UPGRADE if upgrading from a previous release
|
2001-06-29 10:44:30 -04:00
|
|
|
.endif
|
2001-09-21 01:29:40 -04:00
|
|
|
@${ECHO_MSG} All related programs have been installed in ${PREFIX}/bin
|
2001-06-26 22:56:36 -04:00
|
|
|
@${ECHO_MSG}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|