summaryrefslogtreecommitdiffstats
path: root/irc/ircservices/Makefile
blob: ee2e8f979ba6c008e8ba250d597e47a81c301a57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# 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
PORTVERSION=	5.0.${PATCHLEVEL}
CATEGORIES=	irc
MASTER_SITES=	ftp://ftp.esper.net/ircservices/ \
	http://www.ircservices.esper.net/download/ \
	ftp://ftp.freenet.de/pub/ftp.ircservices.za.net/pub/ircservices/ \
	http://banana.irc.gr/ircservices/

DISTNAME=	${PORTNAME}-5.0.0

PATCH_SITES=	${MASTER_SITES}
PATCHLEVEL=	56
PATCHFILES!=	/usr/bin/jot -s " " -w ${DISTNAME:C/[0-9]*$//}%d.diff.gz  \
			${PATCHLEVEL} 1 ${PATCHLEVEL}
PATCH_DIST_STRIP=	-p1

MAINTAINER=	bu7cher@yandex.ru
COMMENT=	A system of IRC services for IRC networks

USE_PERL5_BUILD=yes
HAS_CONFIGURE=	yes
USE_GMAKE=	yes
USE_RC_SUBR=	ircservices.sh
USE_GCC=	3.2+
NOT_FOR_ARCHS=	sparc64

DIST_SUBDIR=	${PORTNAME}
CONFIGURE_ARGS=	-prefix ${PREFIX} -cflags "${CFLAGS} -fPIC" -cc "${CC}"

.include <bsd.port.pre.mk>

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	@${INSTALL_DATA} ${WRKSRC}/docs/*.html ${DOCSDIR}
	@${INSTALL_DATA} ${WRKSRC}/Changes ${WRKSRC}/KnownBugs ${DOCSDIR}
.endif

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud