blob: 03d8798d303c1e8de00bd95c28f55143567b5e25 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# New ports collection makefile for: tmda
# Date created: 08 June 2001
# Whom: Jason R. Mastaler <jason@mastaler.com>
#
# $FreeBSD$
#
PORTNAME= tmda
PORTVERSION= 0.22
CATEGORIES= mail python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= tmda
EXTRACT_SUFX= .tgz
MAINTAINER= jason@mastaler.com
USE_PYTHON= yes
do-build:
(cd ${WRKSRC}; ${PYTHON_CMD} ./setup)
do-install:
${MKDIR} ${PYTHON_SITELIBDIR}/TMDA
${INSTALL_SCRIPT} ${WRKSRC}/TMDA/*.py* ${PYTHON_SITELIBDIR}/TMDA
${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
.for f in ChangeLog COPYRIGHT CRYPTO FAQ INSTALL README THANKS TODO UPGRADE contrib/*.* doc/tmda*
@${INSTALL_DATA} ${WRKSRC}/$f ${PREFIX}/share/doc/tmda
.endfor
@${ECHO_MSG}
@${ECHO_MSG} See ${PREFIX}/share/doc/tmda/INSTALL for configuration instructions
.endif
@${ECHO_MSG} All related binaries have been installed in ${PREFIX}/bin
@${ECHO_MSG}
.include <bsd.port.mk>
|