mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
55 lines
1.3 KiB
Makefile
55 lines
1.3 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.3.1
|
|
CATEGORIES= irc
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ircd-hybrid
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= so14k@so14k.com
|
|
COMMENT= An irc daemon with a number of new features
|
|
|
|
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 <bsd.port.mk>
|