1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/irc/ircd-hybrid/Makefile
Clive Lin a2676d1f0e Upgrade to 6.2. Hybrid-5 is unsupported, forget it.
PR: ports/31116
Submitted by: David Taylor <davidt@yadt.co.uk>
2001-10-20 15:10:47 +00:00

61 lines
1.6 KiB
Makefile

# New ports collection makefile for: ircd-hybrid
# Date Created: 2001-10-07
# Whom: David Taylor <davidt@yadt.co.uk>
#
# $FreeBSD$
#
PORTNAME= ircd-hybrid
PORTVERSION= 6.2
CATEGORIES= irc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ircd-hybrid
EXTRACT_SUFX= .tgz
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
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:
.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>