aboutsummaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2012-07-20 08:28:33 +0000
committerChris Rees <crees@FreeBSD.org>2012-07-20 08:28:33 +0000
commitaf089f84b85cac516bd2e10a86a3e9357de24337 (patch)
tree33a91eea3518299a29bfbb5418f5fb7e247ffa53 /irc
parentd19e4fe0e339208b522dd2bd6a9e42f926bf4ff1 (diff)
downloadports-af089f84b85cac516bd2e10a86a3e9357de24337.tar.gz
ports-af089f84b85cac516bd2e10a86a3e9357de24337.zip
Notes
Diffstat (limited to 'irc')
-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