blob: 0d5bf1db3fde8b0e4f46b6bea1787ea2e3b99db1 (
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
42
43
44
|
# New ports collection makefile for: anope
# Date created: 13/04/2004
# Whom: mat
#
# $FreeBSD$
#
PORTNAME= anope
PORTVERSION= 1.7.22
CATEGORIES= irc
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= A set of IRC services for IRC networks
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-bindir=${PREFIX}/libexec/anope \
--with-datadir=${DATADIR} \
--with-rungroup=ircdru
USE_PERL5_BUILD= yes
USE_RC_SUBR= anope
OPTIONS= MYSQL "Use mysql" ON
.include <bsd.port.pre.mk>
# XXX Add here other arch which needs -fPIC :-)
.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
CFLAGS+= -fPIC
.endif
.if defined(WITH_MYSQL)
USE_MYSQL= yes
.else
CONFIGURE_ARGS+= --without-mysql
.endif
pre-install:
@${MKDIR} ${PREFIX}/libexec/anope
@${MKDIR} ${DATADIR}
.include <bsd.port.post.mk>
|