Lines 3-13
Link Here
|
3 |
# Whom: Freddie Cash <fcash@sd73.bc.ca> |
3 |
# Whom: Freddie Cash <fcash@sd73.bc.ca> |
4 |
# |
4 |
# |
5 |
# $FreeBSD: ports/www/dansguardian/Makefile,v 1.24 2006/09/03 06:35:31 kris Exp $ |
5 |
# $FreeBSD: ports/www/dansguardian/Makefile,v 1.24 2006/09/03 06:35:31 kris Exp $ |
6 |
# |
|
|
7 |
|
6 |
|
8 |
PORTNAME= dansguardian |
7 |
PORTNAME= dansguardian |
9 |
PORTVERSION= 2.8.0.6 |
8 |
PORTVERSION= 2.8.0.6 |
10 |
PORTREVISION= 2 |
9 |
PORTREVISION= 3 |
11 |
CATEGORIES= www |
10 |
CATEGORIES= www |
12 |
MASTER_SITES= # empty, see below |
11 |
MASTER_SITES= # empty, see below |
13 |
DISTNAME= ${PORTNAME}-${PORTVERSION}.source |
12 |
DISTNAME= ${PORTNAME}-${PORTVERSION}.source |
Lines 19-25
Link Here
|
19 |
|
18 |
|
20 |
USE_RC_SUBR= dansguardian.sh |
19 |
USE_RC_SUBR= dansguardian.sh |
21 |
|
20 |
|
22 |
CONFLICTS= dansguardian-2.[67]* |
21 |
CONFLICTS= dansguardian-2.[67]* dansguardian-devel-2.9* |
23 |
LATEST_LINK= dansguardian |
22 |
LATEST_LINK= dansguardian |
24 |
|
23 |
|
25 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} |
24 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} |
Lines 30-36
Link Here
|
30 |
--mandir=/man/ \ |
29 |
--mandir=/man/ \ |
31 |
--logdir=/var/log/ \ |
30 |
--logdir=/var/log/ \ |
32 |
--cgidir=/www/cgi-bin/ \ |
31 |
--cgidir=/www/cgi-bin/ \ |
33 |
--piddir=/var/run/ |
32 |
--piddir=/var/run/ \ |
|
|
33 |
--gccver=3 |
34 |
|
34 |
|
35 |
MAN8= dansguardian.8 |
35 |
MAN8= dansguardian.8 |
36 |
NOMANCOMPRESSED= yes |
36 |
NOMANCOMPRESSED= yes |
Lines 45-57
Link Here
|
45 |
|
45 |
|
46 |
.include <bsd.port.pre.mk> |
46 |
.include <bsd.port.pre.mk> |
47 |
|
47 |
|
48 |
# Set which version of GCC to compile the port with |
|
|
49 |
.if ${OSVERSION} > 500000 |
50 |
CONFIGURE_ARGS+= --gccver=3 |
51 |
.else |
52 |
CONFIGURE_ARGS+= --gccver=2 |
53 |
.endif |
54 |
|
55 |
.if !defined(WITHOUT_DG_APACHE) |
48 |
.if !defined(WITHOUT_DG_APACHE) |
56 |
USE_APACHE= 1.3+ |
49 |
USE_APACHE= 1.3+ |
57 |
.endif |
50 |
.endif |
Lines 77-86
Link Here
|
77 |
.else |
70 |
.else |
78 |
@${ECHO_MSG} "===> Skipping installation of phraselists." |
71 |
@${ECHO_MSG} "===> Skipping installation of phraselists." |
79 |
.endif |
72 |
.endif |
80 |
|
|
|
81 |
# Install startup script |
82 |
# @${ECHO_MSG} "===> Installing startup script into ${PREFIX}/etc/rc.d" |
83 |
# @${INSTALL_SCRIPT} ${WRKSRC}/dansguardian.sh ${PREFIX}/etc/rc.d/start-dg.sh |
84 |
|
73 |
|
85 |
# Display post-install message |
74 |
# Display post-install message |
86 |
@${CAT} pkg-message |
75 |
@${CAT} pkg-message |