View | Details | Raw Unified | Return to bug 87890 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/home/emma/ports/mail/bogofilter/Makefile (-10 / +13 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	bogofilter
8
PORTNAME=	bogofilter
9
PORTVERSION=	0.96.2
9
PORTVERSION=	0.96.2
10
PORTREVISION?=	0
10
PORTREVISION?=	1
11
CATEGORIES?=	mail
11
CATEGORIES?=	mail
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
13
MASTER_SITE_SUBDIR=	${PORTNAME}
13
MASTER_SITE_SUBDIR=	${PORTNAME}
Lines 21-27 Link Here
21
21
22
LIB_DEPENDS?=	db-4.3:${PORTSDIR}/databases/db43
22
LIB_DEPENDS?=	db-4.3:${PORTSDIR}/databases/db43
23
23
24
CONFLICTS?=	bogofilter-sqlite-[0-9]* bogofilter-tdb-[0-9]* bogofilter-qdbm-[0-9]* [a-z][a-z]-bogofilter-[0-9]* bogofilter-sqlite-[0-9]*
24
CONFLICTS?=	bogofilter-sqlite-[0-9]* bogofilter-qdbm-[0-9]* [a-z][a-z]-bogofilter-[0-9]*
25
25
26
USE_BZIP2=	yes
26
USE_BZIP2=	yes
27
USE_REINPLACE=	yes
27
USE_REINPLACE=	yes
Lines 72-86 Link Here
72
72
73
.if !defined(NOPORTDOCS)
73
.if !defined(NOPORTDOCS)
74
PORTDOCS=	*
74
PORTDOCS=	*
75
PLIST_SUB=	CONTRIB="@comment "
76
.else
77
PLIST_SUB=	CONTRIB=""
75
.endif
78
.endif
76
79
77
post-build::
80
post-build::
78
	cd ${WRKSRC} && make check SHELL=${SH}
81
	cd ${WRKSRC} && make check SHELL=${SH}
79
82
80
post-install::
83
post-install::
84
	@${MKDIR} ${DOCSDIR}/contrib
81
.if !defined(NOPORTDOCS)
85
.if !defined(NOPORTDOCS)
82
	@${MKDIR} ${DOCSDIR}
86
.for i in html programmer xml
83
.for i in contrib html programmer xml
84
	@${MKDIR} ${DOCSDIR}/${i}
87
	@${MKDIR} ${DOCSDIR}/${i}
85
.endfor
88
.endfor
86
.for i in AUTHORS COPYING INSTALL NEWS README README.cvs \
89
.for i in AUTHORS COPYING INSTALL NEWS README README.cvs \
Lines 93-111 Link Here
93
	  ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
96
	  ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
94
.endfor
97
.endfor
95
	${INSTALL_DATA} ${WRKSRC}/trio/AUTHORS ${DOCSDIR}/AUTHORS.trio
98
	${INSTALL_DATA} ${WRKSRC}/trio/AUTHORS ${DOCSDIR}/AUTHORS.trio
96
.for i in contrib/bogo.R contrib/bogofilter-qfe \
97
		contrib/mime.get.rfc822 contrib/printmaildir.pl \
98
		contrib/bogominitrain.pl contrib/README.contrib
99
	  ${INSTALL_SCRIPT} ${WRKSRC}/${i} ${DOCSDIR}/${i}
100
.endfor
101
.for i in contrib/dot-qmail-bogofilter-default
99
.for i in contrib/dot-qmail-bogofilter-default
102
	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/${i}
100
	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/${i}
103
.endfor
101
.endfor
104
	${INSTALL_PROGRAM} ${WRKSRC}/contrib/bogogrep ${DOCSDIR}/contrib/
105
	${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}/html
102
	${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}/html
106
	${INSTALL_DATA} ${WRKSRC}/doc/*.xml ${DOCSDIR}/xml
103
	${INSTALL_DATA} ${WRKSRC}/doc/*.xml ${DOCSDIR}/xml
107
	${INSTALL_DATA} ${WRKSRC}/doc/programmer/README.freebsd ${DOCSDIR}/programmer
104
	${INSTALL_DATA} ${WRKSRC}/doc/programmer/README.freebsd ${DOCSDIR}/programmer
108
.endif
105
.endif
106
	${INSTALL_PROGRAM} ${WRKSRC}/contrib/bogogrep ${DOCSDIR}/contrib/
107
.for i in contrib/bogo.R contrib/bogofilter-qfe \
108
		contrib/mime.get.rfc822 contrib/printmaildir.pl \
109
		contrib/bogominitrain.pl contrib/README.contrib
110
	  ${INSTALL_SCRIPT} ${WRKSRC}/${i} ${DOCSDIR}/${i}
111
.endfor
109
.if !defined(WITHOUT_BASH)
112
.if !defined(WITHOUT_BASH)
110
.for i in randomtrain scramble trainbogo.sh
113
.for i in randomtrain scramble trainbogo.sh
111
	${INSTALL_SCRIPT} ${WRKSRC}/contrib/${i} ${DOCSDIR}/contrib/
114
	${INSTALL_SCRIPT} ${WRKSRC}/contrib/${i} ${DOCSDIR}/contrib/
(-)/usr/home/emma/ports/mail/bogofilter/pkg-plist (+13 lines)
Lines 7-9 Link Here
7
bin/bogoutil
7
bin/bogoutil
8
bin/bogoupgrade
8
bin/bogoupgrade
9
etc/bogofilter.cf.example
9
etc/bogofilter.cf.example
10
%%CONTRIB%%%%DOCSDIR%%/contrib/bogo.R
11
%%CONTRIB%%%%DOCSDIR%%/contrib/bogofilter-qfe
12
%%CONTRIB%%%%DOCSDIR%%/contrib/mime.get.rfc822
13
%%CONTRIB%%%%DOCSDIR%%/contrib/printmaildir.pl
14
%%CONTRIB%%%%DOCSDIR%%/contrib/bogominitrain.pl
15
%%CONTRIB%%%%DOCSDIR%%/contrib/README.contrib
16
%%CONTRIB%%%%DOCSDIR%%/contrib/bogogrep
17
%%CONTRIB%%%%DOCSDIR%%/contrib/randomtrain
18
%%CONTRIB%%%%DOCSDIR%%/contrib/scramble
19
%%CONTRIB%%%%DOCSDIR%%/contrib/trainbogo.sh
20
%%CONTRIB%%%%DOCSDIR%%/contrib/README.randomtrain
21
%%CONTRIB%%@dirrm %%DOCSDIR%%/contrib
22
%%CONTRIB%%@dirrm %%DOCSDIR%%

Return to bug 87890