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

PORTNAME=   sircd
PORTVERSION=    0.4.0
PORTREVISION=   1
CATEGORIES= irc
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE} \
        http://www.sircd.org/files/
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    The Smart IRC Daemon

USE_OPENSSL=    yes
USE_GMAKE=  yes
MAKE_ENV=   LD="${CC}" \
        PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
        PTHREAD_LIBS="${PTHREAD_LIBS}"
ALL_TARGET= release
INSTALLS_SHLIB= yes

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/sircd/sircd ${PREFIX}/sbin/sircd
    ${INSTALL_DATA} ${WRKSRC}/sircd/sircd.conf ${PREFIX}/etc/sircd.conf.sample
    ${INSTALL_DATA} ${WRKSRC}/syscore/libsyscore.so ${PREFIX}/lib/libsyscore.so
    @${MKDIR} ${PREFIX}/lib/sircd
    ${INSTALL_DATA} ${WRKSRC}/sircd/motd.txt ${PREFIX}/lib/sircd/motd.txt
    @${MKDIR} ${PREFIX}/lib/sircd/plugins
    ${INSTALL_DATA} ${WRKSRC}/plugins/*.so ${PREFIX}/lib/sircd/plugins

.include <bsd.port.mk>