Lines 1-12
Link Here
|
1 |
# New ports collection makefile for: trac-email2trac |
1 |
# Created by: Gerrit Beine <gerrit.beine@gmx.de> |
2 |
# Date created: May 18 2007 |
|
|
3 |
# Whom: Gerrit Beine <gerrit.beine@gmx.de> |
4 |
# |
5 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
6 |
# |
|
|
7 |
|
3 |
|
8 |
PORTNAME= email2trac |
4 |
PORTNAME= email2trac |
9 |
PORTVERSION= 2.4.5 |
5 |
PORTVERSION= 2.4.5 |
|
|
6 |
PORTREVISION= 1 |
10 |
CATEGORIES= www devel python |
7 |
CATEGORIES= www devel python |
11 |
MASTER_SITES= ftp://ftp.sara.nl/pub/outgoing/ |
8 |
MASTER_SITES= ftp://ftp.sara.nl/pub/outgoing/ |
12 |
PKGNAMEPREFIX= trac- |
9 |
PKGNAMEPREFIX= trac- |
Lines 17-39
Link Here
|
17 |
LICENSE= GPLv2 GPLv3 |
14 |
LICENSE= GPLv2 GPLv3 |
18 |
LICENSE_COMB= dual |
15 |
LICENSE_COMB= dual |
19 |
|
16 |
|
20 |
BUILD_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools |
|
|
21 |
RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac |
17 |
RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac |
22 |
|
18 |
|
23 |
OPTIONS= POSTFIX "Configure suid script for postfix" OFF |
19 |
OPTIONS_DEFINE= POSTFIX |
|
|
20 |
POSTFIX_DESC= Configure suid script for postfix |
24 |
|
21 |
|
25 |
TRACUSER?= ${WWWOWN} |
22 |
TRACUSER?= ${WWWOWN} |
26 |
|
23 |
|
27 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} |
24 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} |
28 |
GNU_CONFIGURE= yes |
25 |
GNU_CONFIGURE= yes |
29 |
CONFIGURE_ARGS= --with-trac-user=${TRACUSER} --with-mta-user=${MTAUSER} |
26 |
CONFIGURE_ARGS= --with-trac-user=${TRACUSER} --with-mta-user=${MTAUSER} |
30 |
USE_PYTHON= yes |
27 |
USE_PYTHON= -2.7 |
31 |
|
28 |
|
32 |
PORTDOCS= AUTHORS COPYING ChangeLog INSTALL README |
29 |
PORTDOCS= AUTHORS COPYING ChangeLog INSTALL README |
33 |
|
30 |
|
34 |
.include <bsd.port.pre.mk> |
31 |
.include <bsd.port.options.mk> |
35 |
|
32 |
|
36 |
.if defined(WITH_POSTFIX) |
33 |
.if ${PORT_OPTIONS:MPOSTFIX} |
37 |
MTAUSER?= nobody |
34 |
MTAUSER?= nobody |
38 |
.else |
35 |
.else |
39 |
MTAUSER?= mailnull |
36 |
MTAUSER?= mailnull |
Lines 50-60
Link Here
|
50 |
${CP} -p ${PREFIX}/etc/email2trac.conf.sample \ |
47 |
${CP} -p ${PREFIX}/etc/email2trac.conf.sample \ |
51 |
${PREFIX}/etc/email2trac.conf ; \ |
48 |
${PREFIX}/etc/email2trac.conf ; \ |
52 |
fi |
49 |
fi |
53 |
.if !defined(NOPORTDOCS) |
50 |
.if ${PORT_OPTIONS:MDOCS} |
54 |
@${MKDIR} ${DOCSDIR} |
51 |
@${MKDIR} ${DOCSDIR} |
55 |
.for file in ${PORTDOCS} |
52 |
.for file in ${PORTDOCS} |
56 |
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} |
53 |
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} |
57 |
.endfor |
54 |
.endfor |
58 |
.endif |
55 |
.endif |
59 |
|
56 |
|
60 |
.include <bsd.port.post.mk> |
57 |
.include <bsd.port.mk> |