- Fix parallel (-jX) builds, drop vile MAKE_JOBS_UNSAFE

- Define LICENSE (GPLv2), move OPTIONS block down a bit
- Rename one option (PROTOCOL_BAHAMUT -> BAHAMUT)
- Drop an article from COMMENT, contract PORTDOCS
- Pad pkg-message display; do misc. cleanups while here
- Reformat port description; terminate WWW with a slash

Reported by:	marino
Approved by:	miwi, bapt (portmgr, implicit)
This commit is contained in:
Alexey Dokuchaev 2013-08-22 08:27:03 +00:00
parent 31497a2a38
commit ca5125658c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=325176
3 changed files with 43 additions and 42 deletions

View file

@ -7,45 +7,29 @@ CATEGORIES= irc net
MASTER_SITES= SF MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org
COMMENT= A set of services for ircu P10 protocol networks COMMENT= Services for ircu P10 protocol networks
MAKE_JOBS_UNSAFE=yes LICENSE= GPLv2
OPTIONS_DEFINE= PROTOCOL_BAHAMUT DEBUG
OPTIONS_DEFAULT= PROTOCOL_BAHAMUT
PROTOCOL_BAHAMUT_DESC= Enables Bahamut protocol (P10 is default)
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-getopt CONFIGURE_ARGS= --without-getopt
SUB_FILES= pkg-message SUB_FILES= pkg-message
PORTDOCS= chanserv.help \ PLIST_FILES= bin/srvx etc/srvx.conf.example etc/sockcheck.conf.example
global.help \ PORTDOCS= *
mod-helpserv.help \
mod-memoserv.help \ OPTIONS_DEFINE= BAHAMUT DEBUG
mod-sockcheck.help \ OPTIONS_DEFAULT= BAHAMUT
modcmd.help \ BAHAMUT_DESC= Enable Bahamut protocol (P10 is default)
nickserv.help \
opserv.help \ DEBUG_CONFIGURE_ON= --enable-debug
saxdb.help \ BAHAMUT_CONFIGURE_ON= --with-protocol=bahamut
sendmail.help
PLIST_FILES= bin/srvx \
etc/srvx.conf.example \
etc/sockcheck.conf.example
.include <bsd.port.options.mk> .include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDEBUG}
CONFIGURE_ARGS+= --enable-debug
.endif
.if ${PORT_OPTIONS:MPROTOCOL_BAHAMUT}
CONFIGURE_ARGS+= --with-protocol=bahamut
.endif
post-patch: post-patch:
@${REINPLACE_CMD} -e 's|= "srvx.conf"|= "${PREFIX}/etc/srx.conf"|g' \ @${REINPLACE_CMD} -e 's|srvx\.conf|${PREFIX}/etc/srx.conf|' \
${WRKSRC}/src/main.c ${WRKSRC}/src/main.c
do-install: do-install:
@ -55,6 +39,8 @@ do-install:
@${MKDIR} ${DOCSDIR} @${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/src/*.help ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/src/*.help ${DOCSDIR}
.endif .endif
@${ECHO_MSG}
@${CAT} ${PKGMESSAGE} @${CAT} ${PKGMESSAGE}
@${ECHO_MSG}
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -0,0 +1,23 @@
--- Makefile.in.orig 2006-05-14 10:52:30.000000000 +0800
+++ Makefile.in 2013-08-22 16:08:40.000000000 +0800
@@ -186,6 +186,7 @@
SUBDIRS = @MY_SUBDIRS@
DIST_SUBDIRS = src rx
all: all-recursive
+ cp ./src/srvx $(srcdir)/src/*.help .
.SUFFIXES:
am--refresh:
@@ -601,12 +602,6 @@
mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \
tags tags-recursive uninstall uninstall-am uninstall-info-am
-
-all: srvx
-
-srvx: src/srvx
- cp ./src/srvx $(srcdir)/src/*.help .
-
install-exec-local:
$(INSTALL) -d -m 755 $(prefix)
$(INSTALL) -m 744 ./src/srvx $(prefix)

View file

@ -1,15 +1,7 @@
srvx is a set of IRC services for ircu P10 protocol networks; it srvx is a set of IRC services for ircu P10 protocol networks; it is
is developed by a team of programmers affiliated with the GameSurge developed by a team of programmers affiliated with the GameSurge IRC
IRC Network. srvx is designed to be a fast, extensible, scalable Network. srvx is designed to be a fast, extensible, scalable, and
and reliable provider of NickServ, ChanServ, HelpServ, OperServ, reliable provider of NickServ, ChanServ, HelpServ, OperServ, and Global
and Global services as well as advanced proxy detection. services as well as advanced proxy detection.
srvx is open source software; the source is available for download under WWW: http://www.srvx.net/
the terms and conditions of the GNU General Public License, commonly known
as the GNU GPL.
The authors can be contacted via irc on irc.gamesurge.net in channel #srvx.
Note that only one of the many authors is listed below, see website for a
full list.
WWW: http://www.srvx.net