aboutsummaryrefslogtreecommitdiffstats
path: root/irc/srvx/Makefile
blob: cb05683882d6c53c6a2a8025a16b69c0e6a14893 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# New ports collection makefile for:    srvx
# Date created:             2003-11-28
# Whom:                 Walter Venable <weaseal@hotmail.com>
#
# $FreeBSD$
#

PORTNAME=   srvx
PORTVERSION=    1.2.1
PORTREVISION=   1
CATEGORIES= irc net
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= srvx

MAINTAINER= weaseal@users.sourceforge.net
COMMENT=    Srvx IRC services

GNU_CONFIGURE=      yes
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

.if defined(WITH_DEBUG)
CONFIGURE_ARGS+=    --enable-debug
.endif

.if defined(WITH_PROTOCOL_BAHAMUT)
CONFIGURE_ARGS+=    --with-protocol=bahamut
.endif

PLIST_FILES=    bin/srvx etc/srvx.conf.example      \
        etc/sockcheck.conf.example      \
        share/doc/${PORTNAME}/chanserv.help     \
        share/doc/${PORTNAME}/global.help   \
        share/doc/${PORTNAME}/helpserv.help     \
        share/doc/${PORTNAME}/modcmd.help   \
        share/doc/${PORTNAME}/nickserv.help     \
        share/doc/${PORTNAME}/opserv.help   \
        share/doc/${PORTNAME}/saxdb.help    \
        share/doc/${PORTNAME}/sendmail.help     \
        share/doc/${PORTNAME}/sockcheck.help
PLIST_DIRS= share/doc/${PORTNAME}

pre-fetch:
    @ ${ECHO} ""
    @ ${ECHO} "--------------------------------------------------------------------------------"
    @ ${ECHO} ""
    @ ${ECHO} "The following build options are availabe:"
    @ ${ECHO} ""
    @ ${ECHO} " WITH_PROTOCOL_BAHAMUT=yes   Enables Bahamut protocol"
    @ ${ECHO} "                 (P10 is default)."
    @ ${ECHO} ""
    @ ${ECHO} " WITH_DEBUG=yes          Enables debug mode."
    @ ${ECHO} ""
    @ ${ECHO} "--------------------------------------------------------------------------------"
    @ ${ECHO} ""

post-install:
    @ ${ECHO} ""
    @ ${ECHO} " When you 'make deinstall', any files generated by ${PORTNAME} (logs, etc)"
    @ ${ECHO} " will remain in ${PREFIX}/etc/.  These files must be removed"
    @ ${ECHO} " manually."
    @ ${ECHO} ""
    @ ${ECHO} " ${PORTNAME} .help files are located in ${DOCSDIR}."
    @ ${ECHO} ""

.include <bsd.port.mk>