Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jul 2012 08:28:33 +0000 (UTC)
From:      Chris Rees <crees@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r301219 - head/irc/charybdis
Message-ID:  <201207200828.q6K8SXZ5073333@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: crees
Date: Fri Jul 20 08:28:33 2012
New Revision: 301219
URL: http://svn.freebsd.org/changeset/ports/301219

Log:
  Add the documentation for IRC operators

Modified:
  head/irc/charybdis/Makefile
  head/irc/charybdis/distinfo

Modified: head/irc/charybdis/Makefile
==============================================================================
--- head/irc/charybdis/Makefile	Fri Jul 20 07:48:05 2012	(r301218)
+++ head/irc/charybdis/Makefile	Fri Jul 20 08:28:33 2012	(r301219)
@@ -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-ratbo
 		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>

Modified: head/irc/charybdis/distinfo
==============================================================================
--- head/irc/charybdis/distinfo	Fri Jul 20 07:48:05 2012	(r301218)
+++ head/irc/charybdis/distinfo	Fri Jul 20 08:28:33 2012	(r301219)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207200828.q6K8SXZ5073333>