summaryrefslogtreecommitdiff
path: root/irc/dancer-ircd/Makefile
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2003-11-13 21:26:13 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2003-11-13 21:26:13 +0000
commit7b20c79071ba6b8cf6eaadd8701e38c180d5b02f (patch)
tree86a59a7bb951bd8f8b7249ace9755c39a0ced6bf /irc/dancer-ircd/Makefile
parent. Simplify the packing list by using the new PORTDOCS macro. (diff)
Update to 1.0.32 (+6p4) and unbreak with gcc 3.3.1.
Add ipv6 to CATEGORIES.
Notes
Notes: svn path=/head/; revision=93917
Diffstat (limited to 'irc/dancer-ircd/Makefile')
-rw-r--r--irc/dancer-ircd/Makefile25
1 files changed, 18 insertions, 7 deletions
diff --git a/irc/dancer-ircd/Makefile b/irc/dancer-ircd/Makefile
index 46ea79352fd7..1afe7637fd15 100644
--- a/irc/dancer-ircd/Makefile
+++ b/irc/dancer-ircd/Makefile
@@ -6,16 +6,24 @@
#
PORTNAME= dancer-ircd
-PORTVERSION= 1.0.31m8
-PORTREVISION= 1
-CATEGORIES= irc
-MASTER_SITES= http://www.doc.ic.ac.uk/~aps100/dancer/%SUBDIR%/
+PORTVERSION= 1.0.32
+CATEGORIES= irc ipv6
+MASTER_SITES= http://freenode.net/ \
+ http://source.freenode.net/~asuffield/dancer/dancer-oper-guide/:doc1 \
+ http://source.freenode.net/~asuffield/dancer/dancer-user-guide/:doc2
MASTER_SITE_SUBDIR= ${PORTNAME}/stable/releases
-DISTNAME= ${PORTNAME}-${PORTVERSION:S/m/+maint/}
+DISTNAME= ${PORTNAME}-${PORTVERSION}+6p4
+DISTFIELS= ${DISTNAME}${EXTRACT_SUFX}${EXTRACT_SUFX} \
+ dancer-oper-guide.txt:doc1 \
+ dancer-user-guide.txt:doc2
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= knu@FreeBSD.org
COMMENT= An irc daemon based on hybrid ircd
+IGNOREFILES= dancer-oper-guide.txt \
+ dancer-user-guide.txt
+
USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
@@ -25,7 +33,7 @@ IS_INTERACTIVE= yes
.endif
post-patch:
- ${REINPLACE_CMD} 's:@@prefix@@:${PREFIX}:g' ${WRKSRC}/include/config.h
+ ${REINPLACE_CMD} 's:@@prefix@@:${PREFIX}:g' ${WRKSRC}/src/paths.c
pre-install:
@${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
@@ -55,7 +63,10 @@ post-install:
${SED} -e "s,/usr/local/,${PREFIX}/,g" ${PKGMESSAGE}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
- ${CP} -R ${WRKSRC}/doc/* ${DOCSDIR}/
+ ${INSTALL_DATA} \
+ ${DISTDIR}/${DIST_SUBDIR}/dancer-oper-guide.txt \
+ ${DISTDIR}/${DIST_SUBDIR}/dancer-user-guide.txt \
+ ${DOCSDIR}/
.endif
.include <bsd.port.mk>