mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
1ac858cdc9
- Add missing OPTIONS_DEFINE
44 lines
1015 B
Makefile
44 lines
1015 B
Makefile
# Created by: Walter Venable <weaseal@hotmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= srvx
|
|
PORTVERSION= 1.3.1
|
|
CATEGORIES= irc net
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Services for ircu P10 protocol networks
|
|
|
|
LICENSE= GPLv2
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --without-getopt
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
PLIST_FILES= bin/srvx etc/srvx.conf.example etc/sockcheck.conf.example
|
|
PORTDOCS= *
|
|
|
|
OPTIONS_DEFINE= BAHAMUT DEBUG DOCS
|
|
OPTIONS_DEFAULT= BAHAMUT
|
|
BAHAMUT_DESC= Enable Bahamut protocol (P10 is default)
|
|
|
|
DEBUG_CONFIGURE_ON= --enable-debug
|
|
BAHAMUT_CONFIGURE_ON= --with-protocol=bahamut
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|srvx\.conf|${PREFIX}/etc/srx.conf|' \
|
|
${WRKSRC}/src/main.c
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/srvx ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/*.conf.example ${STAGEDIR}${PREFIX}/etc
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/src/*.help ${STAGEDIR}${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|