Lines 3-13
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= undernet-ircu |
4 |
PORTNAME= undernet-ircu |
5 |
PORTVERSION= 2.10.12.14 |
5 |
PORTVERSION= 2.10.12.14 |
|
|
6 |
PORTREVISION= 1 |
6 |
CATEGORIES= irc net |
7 |
CATEGORIES= irc net |
7 |
MASTER_SITES= SF/${PORTNAME}/ircu/ircu${PORTVERSION} |
8 |
MASTER_SITES= SF/${PORTNAME}/ircu/ircu${PORTVERSION} \ |
|
|
9 |
ftp://ftpmirror.uk/freebsd-ports/undernet-ircu/ |
8 |
DISTNAME= ircu${PORTVERSION} |
10 |
DISTNAME= ircu${PORTVERSION} |
9 |
|
11 |
|
10 |
MAINTAINER= ports@FreeBSD.org |
12 |
MAINTAINER= freebsd-ports@dan.me.uk |
11 |
COMMENT= Undernet IRCU irc daemon |
13 |
COMMENT= Undernet IRCU irc daemon |
12 |
|
14 |
|
13 |
CONFLICTS= ircd-hybrid-7.[0-9]* |
15 |
CONFLICTS= ircd-hybrid-7.[0-9]* |
Lines 17-28
Link Here
|
17 |
|
19 |
|
18 |
GNU_CONFIGURE= yes |
20 |
GNU_CONFIGURE= yes |
19 |
USE_RC_SUBR= undernet |
21 |
USE_RC_SUBR= undernet |
20 |
CONFIGURE_ARGS= --with-dpath=${PREFIX}/etc/ --with-symlink=no |
22 |
SUB_FILES= pkg-message |
|
|
23 |
CONFIGURE_ARGS+= --with-dpath=${PREFIX}/etc/ --with-symlink=no |
21 |
|
24 |
|
22 |
PLIST_FILES= bin/ircd bin/umkpasswd bin/convert-conf etc/ircd.conf.example |
25 |
OPTIONS_DEFINE= DOCS EXAMPLES IPV6 POLL DEBUG ASSERTS PROFILE PEDANTIC WARNINGS \ |
23 |
|
26 |
INLINES DEVPOLL KQUEUE EPOLL LEAKDETECT |
24 |
OPTIONS_DEFINE= IPV6 POLL DEBUG ASSERTS PROFILE PEDANTIC WARNINGS INLINES DEVPOLL KQUEUE \ |
|
|
25 |
EPOLL LEAKDETECT |
26 |
POLL_DESC= Force poll to be used even if not a sys call |
27 |
POLL_DESC= Force poll to be used even if not a sys call |
27 |
ASSERTS_DESC= Disable assertion checking |
28 |
ASSERTS_DESC= Disable assertion checking |
28 |
PEDANTIC_DESC= Enable pedantic warnings |
29 |
PEDANTIC_DESC= Enable pedantic warnings |
Lines 33-39
Link Here
|
33 |
EPOLL_DESC= Disable the epoll-based engine |
34 |
EPOLL_DESC= Disable the epoll-based engine |
34 |
LEAKDETECT_DESC= Turn on the leak detector (reqs patched boehm) |
35 |
LEAKDETECT_DESC= Turn on the leak detector (reqs patched boehm) |
35 |
|
36 |
|
36 |
NO_STAGE= yes |
|
|
37 |
.include <bsd.port.options.mk> |
37 |
.include <bsd.port.options.mk> |
38 |
|
38 |
|
39 |
.if ${PORT_OPTIONS:MIPV6} |
39 |
.if ${PORT_OPTIONS:MIPV6} |
Lines 86-91
Link Here
|
86 |
CONFIGURE_ARGS+= --with-leak-detect |
86 |
CONFIGURE_ARGS+= --with-leak-detect |
87 |
.endif |
87 |
.endif |
88 |
|
88 |
|
|
|
89 |
do-install: |
90 |
${INSTALL_PROGRAM} ${WRKSRC}/ircd/ircd ${STAGEDIR}${PREFIX}/sbin/ircd |
91 |
${INSTALL_PROGRAM} ${WRKSRC}/ircd/convert-conf ${STAGEDIR}${PREFIX}/bin/undernet-convert-conf |
92 |
${INSTALL_PROGRAM} ${WRKSRC}/ircd/umkpasswd ${STAGEDIR}${PREFIX}/bin/undernet-umkpasswd |
93 |
.if ${PORT_OPTIONS:MEXAMPLES} |
94 |
${INSTALL_DATA} ${WRKSRC}/doc/example.conf ${STAGEDIR}${PREFIX}/etc/ircd.conf.sample |
95 |
.endif |
96 |
.if ${PORT_OPTIONS:MDOCS} |
97 |
${MKDIR} ${STAGEDIR}${DOCSDIR} |
98 |
${MKDIR} ${STAGEDIR}${DOCSDIR}/api |
99 |
${MKDIR} ${STAGEDIR}${DOCSDIR}/history |
100 |
for file in \ |
101 |
ChangeLog ChangeLog.11 INSTALL INSTALL_FR README RELEASE.NOTES; do \ |
102 |
${INSTALL_DATA} ${WRKSRC}/$$file ${STAGEDIR}${DOCSDIR}/ ; \ |
103 |
done |
104 |
for file in \ |
105 |
Authors debug_memleak_gc.patch example.conf fda.txt features.txt freebsd.txt \ |
106 |
iso-time.html linux-poll.patch p10.html readme.asll readme.chroot readme.crules \ |
107 |
readme.cvs readme.features readme.gline readme.iauth readme.indent readme.jupe \ |
108 |
readme.log readme.who readme.www readme.xquery rfc1413.txt rfc1459.unet \ |
109 |
snomask.html strings.txt; do \ |
110 |
${INSTALL_DATA} ${WRKSRC}/doc/$$file ${STAGEDIR}${DOCSDIR}/ ; \ |
111 |
done |
112 |
for file in \ |
113 |
api.txt events.txt features.txt gline.txt ircd_snprintf.txt joinbuf.txt jupe.txt \ |
114 |
log.txt modebuf.txt motd.txt msgq.txt privileges.txt send.txt; do \ |
115 |
${INSTALL_DATA} ${WRKSRC}/doc/api/$$file ${STAGEDIR}${DOCSDIR}/api/ ; \ |
116 |
done |
117 |
for file in \ |
118 |
2.4.notes 2.7-New ChangeLog.07 ChangeLog.10 Manual README-2.6 README.patches \ |
119 |
history.pre24 overview.u2.9; do \ |
120 |
${INSTALL_DATA} ${WRKSRC}/doc/history/$$file ${STAGEDIR}${DOCSDIR}/history/ ; \ |
121 |
done |
122 |
.endif |
123 |
|
89 |
post-install: |
124 |
post-install: |
90 |
@${ECHO_MSG} "" |
125 |
@${ECHO_MSG} "" |
91 |
@${ECHO_MSG} " To run undernet ircu you must add 'undernet_enable=\"YES\" to" |
126 |
@${ECHO_MSG} " To run undernet ircu you must add 'undernet_enable=\"YES\" to" |
Lines 97-100
Link Here
|
97 |
@${ECHO_MSG} " your needs. See documentation at http://coder-com.undernet.org." |
132 |
@${ECHO_MSG} " your needs. See documentation at http://coder-com.undernet.org." |
98 |
@${ECHO_MSG} "" |
133 |
@${ECHO_MSG} "" |
99 |
|
134 |
|
|
|
135 |
|
100 |
.include <bsd.port.mk> |
136 |
.include <bsd.port.mk> |