freebsd-ports/irc/anope/Makefile
Pav Lucistnik c10bd97f45 - Update to 1.7.21
PR:		ports/123290
Submitted by:	Boris Kovalenko <boris@tagnet.ru>

- Drop maintainership

Submitted by:	mat (maintainer)
2008-11-12 16:49:09 +00:00

45 lines
853 B
Makefile

# New ports collection makefile for: anope
# Date created: 13/04/2004
# Whom: mat
#
# $FreeBSD$
#
PORTNAME= anope
PORTVERSION= 1.7.21
CATEGORIES= irc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
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>