aboutsummaryrefslogtreecommitdiffstats
path: root/irc/charybdis
diff options
context:
space:
mode:
authorcrees <crees@FreeBSD.org>2012-07-20 16:28:33 +0800
committercrees <crees@FreeBSD.org>2012-07-20 16:28:33 +0800
commitae7526cfb014bb36e555379b59538a536c63fe7e (patch)
tree33a91eea3518299a29bfbb5418f5fb7e247ffa53 /irc/charybdis
parent42ef166dd0b770a2fda8d5752970502edb01fb7a (diff)
downloadfreebsd-ports-gnome-ae7526cfb014bb36e555379b59538a536c63fe7e.tar.gz
freebsd-ports-gnome-ae7526cfb014bb36e555379b59538a536c63fe7e.tar.zst
freebsd-ports-gnome-ae7526cfb014bb36e555379b59538a536c63fe7e.zip
Add the documentation for IRC operators
Diffstat (limited to 'irc/charybdis')
-rw-r--r--irc/charybdis/Makefile16
-rw-r--r--irc/charybdis/distinfo2
2 files changed, 17 insertions, 1 deletions
diff --git a/irc/charybdis/Makefile b/irc/charybdis/Makefile
index f3020d035775..7054ba385ff0 100644
--- a/irc/charybdis/Makefile
+++ b/irc/charybdis/Makefile
@@ -7,10 +7,12 @@
PORTNAME= charybdis
PORTVERSION= 3.3.0
+PORTREVISION= 1
CATEGORIES= irc net
MASTER_SITES= http://www.stack.nl/~jilles/irc/ \
http://www.bayofrum.net/dist/${PORTNAME}/
-EXTRACT_SUFX= .tbz2
+DISTFILES= ${DISTNAME}.tbz2
+EXTRACT_ONLY= ${DISTFILES:M*tbz2}
MAINTAINER= crees@FreeBSD.org
COMMENT= A powerful IRC daemon, based on ircd-ratbox
@@ -24,6 +26,7 @@ CONFLICTS= ircd-ratbox-[0-9]* ircd-ratbox-devel-[0-9]* \
ru-ircd-hybrid-[0-9]* \
MAN8= ircd.8
+PORTDOCS= *
USE_LDCONFIG= yes
USE_RC_SUBR= ${PORTNAME}
@@ -37,6 +40,13 @@ CONFIGURE_ARGS= --with-confdir=${ETCDIR} \
USERS= ircd
GROUPS= ircd
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
+DISTFILES+= charybdis-oper-guide.pdf:pdf
+MASTER_SITES+= http://www.stack.nl/~jilles/irc/charybdis-stable-oper-guide/:pdf
+.endif
+
post-patch:
@${REINPLACE_CMD} -e \
's#(libdir)/pkgconfig#${PREFIX}/libdata/pkgconfig#' \
@@ -47,5 +57,9 @@ post-patch:
pre-su-install:
@${MKDIR} ${DATADIR}
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${DISTDIR}/charybdis-oper-guide.pdf ${DOCSDIR}
+.endif
.include <bsd.port.mk>
diff --git a/irc/charybdis/distinfo b/irc/charybdis/distinfo
index fe35e7927256..0ba488d02a10 100644
--- a/irc/charybdis/distinfo
+++ b/irc/charybdis/distinfo
@@ -1,2 +1,4 @@
SHA256 (charybdis-3.3.0.tbz2) = b5feae88c031dee799144fbfde9d64f3ace4c979c337a1047677a17600dddab1
SIZE (charybdis-3.3.0.tbz2) = 1478877
+SHA256 (charybdis-oper-guide.pdf) = 13a0fe5642ed62810e76aed4c95dcd2fcd63f3565af9035fdd7b3874b5951e07
+SIZE (charybdis-oper-guide.pdf) = 553379