2003-07-17 23:21:03 +02:00
|
|
|
# $NetBSD: Makefile,v 1.27 2003/07/17 21:25:52 grant Exp $
|
2000-12-15 01:36:25 +01:00
|
|
|
|
2002-03-10 11:37:27 +01:00
|
|
|
DISTNAME= ircii-${VERS}
|
|
|
|
PKGNAME= ircII-${VERS}
|
2003-03-29 13:40:00 +01:00
|
|
|
WRKSRC= ${WRKDIR}/ircii-${VERS}
|
2000-12-15 01:36:25 +01:00
|
|
|
CATEGORIES= chat
|
2001-12-10 14:38:29 +01:00
|
|
|
MASTER_SITES= ftp://ircii.warped.com/pub/ircII/ \
|
|
|
|
ftp://ircftp.au.eterna.com.au/pub/ircII/
|
2000-12-15 01:36:25 +01:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2003-07-17 23:21:03 +02:00
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
2001-02-16 14:41:26 +01:00
|
|
|
COMMENT= The 'Internet Relay Chat' and 'Internet Citizens Band' Client
|
2000-12-15 01:36:25 +01:00
|
|
|
|
2001-09-28 01:17:41 +02:00
|
|
|
CONFLICTS= blackened-[0-9]*
|
2001-04-12 12:35:41 +02:00
|
|
|
|
2003-07-09 20:15:16 +02:00
|
|
|
VERS= 20030709
|
2002-04-03 16:00:49 +02:00
|
|
|
PLIST_SUBST+= VERS=${VERS}
|
2002-03-10 11:37:27 +01:00
|
|
|
|
2000-12-15 01:36:25 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2002-08-25 23:48:57 +02:00
|
|
|
USE_BUILDLINK2= yes
|
2000-12-15 01:36:25 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
.if defined(DEFAULT_IRC_SERVER)
|
|
|
|
CONFIGURE_ARGS+= --with-default-server=${DEFAULT_IRC_SERVER}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
BUILD_DEFS+= USE_INET6
|
|
|
|
|
|
|
|
# Note: this pkg auto-detects IPv6 without regarding USE_INET6.
|
|
|
|
# (Leave the above line in to still get it into the README-IPv6.html!)
|
|
|
|
|
|
|
|
PLIST_SRC= ${WRKDIR}/PLIST.tmp
|
|
|
|
BUILD_DEFS+= USE_SOCKS
|
|
|
|
|
|
|
|
# Include SOCKS firewall support
|
|
|
|
.if defined(USE_SOCKS) && (${USE_SOCKS} == 4 || ${USE_SOCKS} == 5)
|
2002-08-25 23:48:57 +02:00
|
|
|
. if ${USE_SOCKS} == 4
|
|
|
|
. include "../../net/socks4/buildlink2.mk"
|
|
|
|
CONFIGURE_ARGS+= --with-socks4=${BUILDLINK_PREFIX.socks4}
|
|
|
|
. elif ${USE_SOCKS} == 5
|
|
|
|
. include "../../net/socks5/buildlink2.mk"
|
|
|
|
CONFIGURE_ARGS+= --with-socks5=${BUILDLINK_PREFIX.socks5}
|
|
|
|
. endif
|
2000-12-15 01:36:25 +01:00
|
|
|
.endif
|
|
|
|
|
2002-08-25 23:48:57 +02:00
|
|
|
# Allow customizations from /etc/mk.conf.
|
2001-07-07 22:54:52 +02:00
|
|
|
CONFIGURE_ARGS+= ${IRCII_CONFIGURE_ARGS}
|
|
|
|
CONFIGURE_ENV+= ${IRCII_CONFIGURE_ENV}
|
|
|
|
|
2000-12-15 01:36:25 +01:00
|
|
|
pre-install:
|
|
|
|
@(if [ "X${MANZ}" != X"" ]; then \
|
|
|
|
GZSUFFIX=.gz; \
|
|
|
|
fi; \
|
|
|
|
${SED} -e 's|@.GZ@|'$$GZSUFFIX'|g' ${PKGDIR}/PLIST > ${PLIST_SRC})
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@if [ "X${MANZ}" != X"" ]; then \
|
|
|
|
${ECHO} Compressing help files; \
|
2001-05-19 05:56:23 +02:00
|
|
|
${FIND} ${PREFIX}/share/irc/help -type f -print | ${XARGS} ${GZIP_CMD}; \
|
2000-12-15 01:36:25 +01:00
|
|
|
fi
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|