1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/irc/anope/Makefile

57 lines
1.1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: anope
# Date created: 13/04/2004
# Whom: mat
#
# $FreeBSD$
#
PORTNAME= anope
2011-12-24 10:49:07 +00:00
PORTVERSION= 1.8.7
CATEGORIES= irc
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-stable/Anope%20${PORTVERSION}
MAINTAINER= dhn@FreeBSD.org
COMMENT= A set of IRC services for IRC networks
USE_GMAKE= yes
GNU_CONFIGURE= yes
2009-07-19 16:13:51 +00:00
CONFIGURE_ARGS= --libdir="${LOCALBASE}/lib" \
--includedir="${LOCALBASE}/include" \
--with-bindir=${PREFIX}/libexec/anope \
--with-datadir=${DATADIR} \
--with-rungroup=ircdru
2004-05-18 05:21:08 +00:00
USE_PERL5_BUILD= yes
PORTDOCS= BUGS COPYING DEFCON EVENTS \
FAQ INSTALL IRCD MODULES MYSQL \
NEWS PROXY README
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}
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/docs/,} ${DOCSDIR}/
.endif
.include <bsd.port.post.mk>