# New ports collection makefile for: ircd-hybrid # Date Created: 2001-10-07 # Whom: David Taylor # # $FreeBSD$ # PORTNAME= ircd-hybrid PORTVERSION= 6.3.1 CATEGORIES= irc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ircd-hybrid EXTRACT_SUFX= .tgz MAINTAINER= so14k@so14k.com MAN8= ircd.8 USE_GMAKE= yes GNU_CONFIGURE= yes CPIO?= /usr/bin/cpio --quiet -pdum -R .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} ${DOCSDIR} @cd ${WRKSRC}/doc && ${FIND} * -type f -print \ | ${CPIO} ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} @${CHMOD} -R ${SHAREMODE} ${DOCSDIR} @${CHMOD} -R a+X ${DOCSDIR} .endif @${SED} -e "s#%PREFIX%#${PREFIX}#" ${FILESDIR}/ircd.sh \ > ${WRKDIR}/ircd.sh @${INSTALL_SCRIPT} ${WRKDIR}/ircd.sh ${PREFIX}/etc/rc.d @${SED} -e "s#/usr/local/#${PREFIX}/#" ${PKGMESSAGE} .include