mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
0e682dded4
mid 2008. PR: ports/159624 Submitted by: Ruslan Mahmatkhanov <cvs-src@yandex.ru>
62 lines
1.3 KiB
Makefile
62 lines
1.3 KiB
Makefile
# New ports collection makefile for: srvx
|
|
# Date created: 2003-11-28
|
|
# Whom: Walter Venable <weaseal@hotmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= srvx
|
|
PORTVERSION= 1.3.1
|
|
CATEGORIES= irc net
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A set of services for ircu P10 protocol networks
|
|
|
|
OPTIONS= PROTOCOL_BAHAMUT "Enables Bahamut protocol (P10 is default)" "on" \
|
|
DEBUG "Enables debug mode" "off"
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --without-getopt
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
PORTDOCS= chanserv.help \
|
|
global.help \
|
|
mod-helpserv.help \
|
|
mod-memoserv.help \
|
|
mod-sockcheck.help \
|
|
modcmd.help \
|
|
nickserv.help \
|
|
opserv.help \
|
|
saxdb.help \
|
|
sendmail.help
|
|
PLIST_FILES= bin/srvx \
|
|
etc/srvx.conf.example \
|
|
etc/sockcheck.conf.example
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_DEBUG)
|
|
CONFIGURE_ARGS+= --enable-debug
|
|
.endif
|
|
|
|
.if defined(WITH_PROTOCOL_BAHAMUT)
|
|
CONFIGURE_ARGS+= --with-protocol=bahamut
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|= "srvx.conf"|= "${PREFIX}/etc/srx.conf"|g' \
|
|
${WRKSRC}/src/main.c
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/srvx ${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/*.conf.example ${PREFIX}/etc
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/src/*.help ${DOCSDIR}
|
|
.endif
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.post.mk>
|