2002-11-07 16:36:03 +00:00
|
|
|
# New ports collection makefile for: ircservices
|
|
|
|
# Date created: Sun Oct 27 11:49:48 CET 2002
|
|
|
|
# Whom: Alex Dupre <sysadmin@alexdupre.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ircservices
|
2008-01-20 01:33:47 +00:00
|
|
|
PORTVERSION= 5.0.63
|
2002-11-07 16:36:03 +00:00
|
|
|
CATEGORIES= irc
|
2008-01-20 01:33:47 +00:00
|
|
|
MASTER_SITES= http://www.ircservices.za.net/download/old/ \
|
|
|
|
http://banana.irc.gr/ircservices/old/ \
|
|
|
|
ftp://ftp.freenet.de/pub/ftp.ircservices.za.net/pub/ircservices/old/
|
2005-05-11 15:25:35 +00:00
|
|
|
|
2005-02-16 09:35:32 +00:00
|
|
|
MAINTAINER= bu7cher@yandex.ru
|
2003-02-21 12:17:17 +00:00
|
|
|
COMMENT= A system of IRC services for IRC networks
|
2002-11-07 16:36:03 +00:00
|
|
|
|
2003-05-04 05:21:15 +00:00
|
|
|
USE_PERL5_BUILD=yes
|
2002-11-07 16:36:03 +00:00
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
2006-06-26 13:28:49 +00:00
|
|
|
USE_RC_SUBR= ircservices
|
2002-11-07 16:36:03 +00:00
|
|
|
|
2003-07-08 05:03:31 +00:00
|
|
|
DIST_SUBDIR= ${PORTNAME}
|
2006-06-26 13:28:49 +00:00
|
|
|
CONFIGURE_ARGS= -prefix ${PREFIX} -cflags "${CFLAGS}" -cc "${CC}"
|
2004-03-07 13:00:02 +00:00
|
|
|
|
2007-01-19 20:21:16 +00:00
|
|
|
IRCSERVICES_LANG?= EN_US
|
|
|
|
|
2005-04-10 22:33:34 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2008-09-15 20:03:40 +00:00
|
|
|
.if ${OSVERSION} > 700042
|
|
|
|
CFLAGS+= -fno-stack-protector
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${ARCH} == "amd64"
|
|
|
|
CFLAGS+= -fPIC
|
2006-10-31 17:12:31 +00:00
|
|
|
.endif
|
|
|
|
|
2007-01-19 20:21:16 +00:00
|
|
|
pre-patch:
|
|
|
|
@${ECHO_MSG} "You can set IRCSERVICES_LANG to the following language"
|
|
|
|
@${ECHO_MSG} "codes to select language the services will use when"
|
|
|
|
@${ECHO_MSG} "communicating with users:"
|
|
|
|
@${ECHO_MSG} "(Be aware of the capitalization!)"
|
|
|
|
@${ECHO_MSG} ""
|
|
|
|
@${ECHO_MSG} "DE EN_US ES FR HU IT JA_EUC JA_SJIS NL PT RU TR"
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|LANG_EN_US|LANG_${IRCSERVICES_LANG}|' \
|
|
|
|
${WRKSRC}/defs.h
|
|
|
|
|
2002-11-07 16:36:03 +00:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/docs/*.html ${DOCSDIR}
|
2005-02-16 09:35:32 +00:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/Changes ${WRKSRC}/KnownBugs ${DOCSDIR}
|
2002-11-07 16:36:03 +00:00
|
|
|
.endif
|
|
|
|
|
2005-04-10 22:33:34 +00:00
|
|
|
.include <bsd.port.post.mk>
|