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

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

MAINTAINER= ports@FreeBSD.org

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>