aboutsummaryrefslogtreecommitdiffstats
path: root/mail/svnmailer/Makefile
blob: 6ef3ee0385104363edcd2a642fb1d2f0776d12e9 (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
# New ports collection makefile for:    svnmailer
# Date created:     2005-08-30
# Whom:         Andrej Zverev <az@inec.ru>
#
# $FreeBSD$
#

PORTNAME=   svnmailer
PORTVERSION=    1.0.5
CATEGORIES= mail python
MASTER_SITES=   http://storage.perlig.de/${PORTNAME}/
PKGNAMESUFFIX=  ${PYTHON_PKGNAMESUFFIX}

MAINTAINER= az@inec.ru
COMMENT=    A tool to post subversion repository commit information

BUILD_DEPENDS=  ${PYTHON_SITELIBDIR}/libsvn/__init__.py:${PORTSDIR}/devel/subversion-python

USE_PYTHON=     2.3+
USE_PYDISTUTILS=    yes
USE_REINPLACE=      yes

PORTDOCS=   index.html perlig.css perlig.jpg perlig_docs.css \
        perlig_offline.css right.gif up.gif

post-patch:
    @${REINPLACE_CMD} -e "1s|^.*|#!${PYTHON_CMD}|" ${WRKSRC}/setup.py
    @${REINPLACE_CMD} -e "1s|^.*|#!${PYTHON_CMD}|" ${WRKSRC}/src/svn-mailer

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    cd ${WRKSRC}/docs; ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>