# New ports collection makefile for: ircd-ratbox # Date Created: 2006-01-27 # Whom: Shaun Amott # # $FreeBSD$ # # ex: ts=8 PORTNAME= ircd-ratbox PORTVERSION= 2.2.6 PORTREVISION= 1 CATEGORIES= irc ipv6 MASTER_SITES= ftp://ftp.ircd-ratbox.org/pub/ircd-ratbox/ \ ftp://ftp.demon.co.uk/pub/mirrors/ircd-ratbox/ \ http://www.ircd-ratbox.org/download/ \ ftp://ftp.parodius.com/pub/ircd-ratbox/ \ http://www.ircd-ratbox.org/download/old/ EXTRACT_SUFX= .tgz MAINTAINER= moggie@elasticmind.net COMMENT= An advanced, stable IRC daemon, used on many EFnet servers CONFLICTS= ircd-ratbox-devel-[0-9]* MAN8= ircd.8 USE_RC_SUBR= ircd-ratbox.sh LOGDIR= /var/log/${PORTNAME} RUNDIR= /var/run/${PORTNAME} SUB_FILES= pkg-message pkg-install PLIST_SUB= LOGDIR=${LOGDIR} RUNDIR=${RUNDIR} SUB_LIST= LOGDIR=${LOGDIR} RUNDIR=${RUNDIR} GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-confdir=${PREFIX}/etc/${PORTNAME} \ --with-logdir=/var/log/${PORTNAME} \ --with-moduledir=${PREFIX}/lib/${PORTNAME}/modules \ --with-helpdir=${DATADIR}/help PORTDOCS= [^i]*.txt README.* technical/[^i]*.txt Tao-of-IRC.* #-- Options ------------------------------------------------------------ OPTIONS= KQUEUE "Use superior kqueue(2) instead of poll(2)" on \ OPENSSL "Enable openssl support" on \ IPV6 "Enable IPv6 support" on \ ZIPLINKS "Enable ziplinks support" on \ SHARED_MODULES "Enable shared modules support" on \ ASSERT "Enable debugging code" off \ SMALL_NET "Tune server for small networks" off \ SERVICES "Enable ratbox-services compatibility code" off #---------------------------------------------------------------------- .include .if defined(WITH_KQUEUE) CONFIGURE_ARGS+= --enable-kqueue .else CONFIGURE_ARGS+= --enable-poll .endif .if defined(WITH_OPENSSL) .include "${PORTSDIR}/Mk/bsd.openssl.mk" CONFIGURE_ARGS+= --enable-openssl .else CONFIGURE_ARGS+= --disable-openssl .endif .if !defined(WITHOUT_IPV6) CONFIGURE_ARGS+= --enable-ipv6 .endif .if defined(WITHOUT_ZIPLINKS) CONFIGURE_ARGS+= --disable-zlib .endif .if defined(WITHOUT_SHARED_MODULES) CONFIGURE_ARGS+= --disable-shared-modules .endif .if defined(WITH_ASSERT) CONFIGURE_ARGS+= --enable-assert .else CONFIGURE_ARGS+= --disable-assert .endif .if defined(WITH_SMALL_NET) CONFIGURE_ARGS+= --enable-small-net .endif .if defined(WITH_SERVICES) CONFIGURE_ARGS+= --enable-services .endif #-- User Configuration ------------------------------------------------- .if defined(NICKLEN) CONFIGURE_ARGS+= --with-nicklen=${NICKLEN} .endif .if defined(TOPICLEN) CONFIGURE_ARGS+= --with-topiclen=${TOPICLEN} .endif #----------------------------------------------------------------------- pre-configure: @${ECHO_MSG} "" @${ECHO_MSG} "This port has additional options:" @${ECHO_MSG} " NICKLEN [default 9, max 50] - Max nick length on server" @${ECHO_MSG} " TOPICLEN [default 160, max 390] - Max topic length" @${ECHO_MSG} "" @${ECHO_MSG} "Press CTRL+C now if you wish to set them." @${ECHO_MSG} "" post-patch: @${REINPLACE_CMD} -e "s#-O2##" ${WRKSRC}/configure @${REINPLACE_CMD} -e "s#%%PREFIX%%#${PREFIX}#g" \ ${WRKSRC}/doc/example.conf \ ${WRKSRC}/doc/example.efnet.conf @${REINPLACE_CMD} -e "s#%%LOGDIR%%#${LOGDIR}#g" \ ${WRKSRC}/doc/example.conf \ ${WRKSRC}/doc/example.efnet.conf @${REINPLACE_CMD} -e "s#%%RUNDIR%%#${RUNDIR}#g" ${WRKSRC}/include/config.h pre-su-install: @${SETENV} "PKG_PREFIX=${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL ${MKDIR} ${PREFIX}/etc/${PORTNAME} ${MKDIR} ${DATADIR}/help ${MKDIR} ${PREFIX}/lib/${PORTNAME}/modules post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} .endif ${INSTALL_DATA} ${WRKSRC}/doc/ircd.motd ${PREFIX}/etc/${PORTNAME}/ircd.motd.sample ${INSTALL_DATA} ${WRKSRC}/doc/example.conf ${PREFIX}/etc/${PORTNAME}/ircd.conf.sample ${INSTALL_DATA} ${WRKSRC}/doc/example.efnet.conf ${PREFIX}/etc/${PORTNAME}/ircd-efnet.conf.sample @if [ ! -f ${PREFIX}/etc/${PORTNAME}/ircd.conf ]; then \ ${ECHO} "Installing default configuration file."; \ ${CP} -p ${PREFIX}/etc/${PORTNAME}/ircd.conf.sample ${PREFIX}/etc/${PORTNAME}/ircd.conf ; \ fi @if [ ! -f ${PREFIX}/etc/${PORTNAME}/ircd.motd ]; then \ ${ECHO} "Installing default motd file."; \ ${CP} -p ${PREFIX}/etc/${PORTNAME}/ircd.motd.sample ${PREFIX}/etc/${PORTNAME}/ircd.motd ; \ fi @${SETENV} "PKG_PREFIX=${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL @${CAT} ${PKGMESSAGE} #----------------------------------------------------------------------- .include mate-1.16 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
path: root/devel/qsa
o?h=gstreamer0.10-removal&id=c6535e2fa7f07178532cebeadf49e7309985ea88'>Respect the user's USE_LINUX setting.
Commit message (Expand)AuthorAgeFilesLines
* Remove USE_REINPLACE from all categories starting with Dedwin2006-05-051-1/+0
* SHA256ifyedwin2006-01-221-0/+1
* Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtryedwin2006-01-221-3/+3
* Update to 1.1.3lofi2005-10-053-4/+4
* Update to Qt 3.3.4, introduce MASTER_SITE_QT.lofi2005-02-061-2/+2
* Update to 1.1.2lofi2005-01-193-8/+7
* - Install missing includemarkus2004-10-183-0/+14
trevor2005-03-02