diff options
author | Clive Lin <clive@FreeBSD.org> | 2001-10-20 15:10:47 +0000 |
---|---|---|
committer | Clive Lin <clive@FreeBSD.org> | 2001-10-20 15:10:47 +0000 |
commit | a2676d1f0e1915ad344fd138654a086a9070c5e8 (patch) | |
tree | 23e8d861918f9fb6bdbdfb98630fb50b11f80693 /irc/ircd-hybrid/Makefile | |
parent | e0c533f55bc9986c41de0199f2c5e5893cbfaba1 (diff) | |
download | ports-a2676d1f0e1915ad344fd138654a086a9070c5e8.tar.gz ports-a2676d1f0e1915ad344fd138654a086a9070c5e8.zip |
Notes
Diffstat (limited to 'irc/ircd-hybrid/Makefile')
-rw-r--r-- | irc/ircd-hybrid/Makefile | 54 |
1 files changed, 41 insertions, 13 deletions
diff --git a/irc/ircd-hybrid/Makefile b/irc/ircd-hybrid/Makefile index 7d5650d035d7..b0fa9a4bbf14 100644 --- a/irc/ircd-hybrid/Makefile +++ b/irc/ircd-hybrid/Makefile @@ -1,32 +1,60 @@ # New ports collection makefile for: ircd-hybrid -# Date created: 9 January 1998 -# Whom: desmo@bandwidth.org +# Date Created: 2001-10-07 +# Whom: David Taylor <davidt@yadt.co.uk> # # $FreeBSD$ # PORTNAME= ircd-hybrid -PORTVERSION= 5.3p8 +PORTVERSION= 6.2 CATEGORIES= irc -MASTER_SITES= ftp://ftp.blackened.com/pub/irc/hybrid/ ftp://ftp.blackened.com/pub/irc/hybrid/old/ +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ircd-hybrid +EXTRACT_SUFX= .tgz -MAINTAINER= desmo@bandwidth.org +MAINTAINER= davidt@yadt.co.uk +MAN8= ircd.8 + +PATCH_STRIP= -p1 +USE_GMAKE= yes GNU_CONFIGURE= yes +PLIST_SUB= PORTNAME=${PORTNAME} + +.if !defined(PACKAGE_BUILDING) && !defined(BATCH) IS_INTERACTIVE= yes +.endif -MAN8= ircd.8 +post-extract: + @${MV} ${WRKSRC}/include/config.h ${WRKSRC}/include/config.h.in + @${MV} ${WRKSRC}/tools/install_ircd ${WRKSRC}/tools/install_ircd.in + +post-configure: + ${CHMOD} +x ${WRKSRC}/tools/install_ircd pre-install: +.if !defined(PACKAGE_BUILDING) && !defined(BATCH) @${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL +.endif post-install: - ${INSTALL_SCRIPT} ${WRKSRC}/tools/buildm4 ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/tools/fixklines ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/tools/ircd-mkpasswd ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/tools/viconf ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/doc/ircd.8 ${MANPREFIX}/man/man8 - ${INSTALL_SCRIPT} ${FILESDIR}/ircd.sh ${PREFIX}/etc/rc.d - ${INSTALL_DATA} ${WRKSRC}/doc/example.conf.trillian ${PREFIX}/etc/ircd +.if !defined(NOPORTDOCS) + @${MKDIR} ${PREFIX}/share/doc/${PORTNAME} + @${MKDIR} ${PREFIX}/share/doc/${PORTNAME}/old + @${MKDIR} ${PREFIX}/share/doc/${PORTNAME}/old/US-Admin + for i in old/US-Admin/Networking old/US-Admin/Operators \ + old/US-Admin/README old/Authors old/Etiquette old/README \ + CIDR.txt INDEX Makefile README.TSora Tao-of-IRC.940110 \ + blalloc.txt example.conf example.conf.trillian ircd.8 \ + mtrie.txt operguide.txt opermyth.txt rfc1459.txt \ + server-version-info simple.conf ts5.txt yline.txt; do \ + ${INSTALL_MAN} ${WRKSRC}/doc/$$i \ + ${PREFIX}/share/doc/${PORTNAME}/$$i; \ + done +.endif + @${SED} -e "s#%PREFIX%#${PREFIX}#" ${FILESDIR}/ircd.sh \ + > ${WRKDIR}/ircd.sh + @${INSTALL_SCRIPT} ${WRKDIR}/ircd.sh ${PREFIX}/etc/rc.d + @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> |