summaryrefslogtreecommitdiffstats
path: root/irc/sircd/Makefile
blob: 2418dbe7ac620e25ff6284ec265302a2b26814ba (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
# ex:ts=8
# New ports collection makefile for:	sircd
# Date created:			Jun 15, 2001
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	sircd
PORTVERSION=	0.2.5a
CATEGORIES=	irc
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
		http://www.sircd.org/files/
MASTER_SITE_SUBDIR=	${PORTNAME}
DISTNAME=	${PORTNAME}-${PORTVERSION:S/a/-alpha/}

MAINTAINER=	ports@FreeBSD.org

USE_OPENSSL=	yes
WRKSRC=		${WRKDIR}/${DISTNAME}/server
USE_GMAKE=	yes
ALL_TARGET=	release
INSTALLS_SHLIB=	yes

post-patch:
	@${PERL} -pi -e "s,-lssl,-lssl -lcrypto,g" ${WRKSRC}/sircd/Makefile

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/sircd/sircd ${PREFIX}/sbin
	${INSTALL} ${WRKSRC}/../syscore/libsyscore.so ${PREFIX}/lib
	${INSTALL_DATA} ${WRKSRC}/sircd/sircd.conf ${PREFIX}/etc/sircd.conf.sample
	${MKDIR} ${PREFIX}/share/sircd/plugins
.for file in mod_base.so mod_oper.so
	${INSTALL} ${WRKSRC}/plugins/${file} ${PREFIX}/share/sircd/plugins
.endfor
	${INSTALL_DATA} ${WRKSRC}/sircd/motd.txt ${PREFIX}/share/sircd

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