aboutsummaryrefslogtreecommitdiffstats
path: root/irc/slirc/Makefile
blob: 5d347ca32d91bc20187482097460e22ae4ca6114 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
# $FreeBSD$

PORTNAME=   slirc
PORTVERSION=    0.12
PORTREVISION=   4
# Assign with += for slave ports
CATEGORIES+=    irc
MASTER_SITES=   http://members.core.com/~stabro/

MAINTAINER= ports@FreeBSD.org
COMMENT=    SLang-based IRC client

BROKEN=     unfetchable

LIB_DEPENDS=    ${LIB_DEPENDS_LIBSLANG}

USES=       gmake tar:tgz
SUB_FILES=  pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message

SLANG_INCDIR?=  ${LOCALBASE}/include
SLANG_LIBDIR?=  ${LOCALBASE}/lib
LIB_DEPENDS_LIBSLANG?=  libslang.so.2:${PORTSDIR}/devel/libslang2

MAKE_ARGS=  SLANG_INCDIR="${SLANG_INCDIR}" \
        SLANG_LIBDIR="${SLANG_LIBDIR}" \
        ${MAKE_ARGS_JA}
PLIST_SUB=  JA=${PLIST_JA}
PLIST_JA?=  "@comment "

# Assign with += for slave ports
DOCS+=      BUGS \
        CHANGES \
        COPYING \
        FAQ \
        LACK-OF-WARRANTY \
        README \
        README.dropin \
        README.gutsbonesbloodtoilsweat \
        TODO \
        scripts/slirc.hlp \
        sldocs/VFile.txt \
        sldocs/utilsfun.txt

OPTIONS_DEFINE= DOCS

post-patch:
    @${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},' ${WRKSRC}/Makefile

post-install:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>