aboutsummaryrefslogtreecommitdiffstats
path: root/irc/slirc/Makefile
blob: 8573b64dcfed94fb5a1c18de601c0fb514973ba9 (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
# New ports collection makefile for:    SLirc
# Date created:     6 Jan 2001
# Whom:         Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#

PORTNAME=   slirc
PORTVERSION=    0.12
# Assign with += for slave ports
CATEGORIES+=    irc
MASTER_SITES=   http://www.megsinet.com/~stabro/
EXTRACT_SUFX=   .tgz

MAINTAINER= knu@FreeBSD.org

LIB_DEPENDS=    ${LIB_DEPENDS_LIBSLANG}

USE_GMAKE=  yes

SLANG_INCDIR?=  ${PREFIX}/include
SLANG_LIBDIR?=  ${PREFIX}/lib
LIB_DEPENDS_LIBSLANG?=  slang.1:${PORTSDIR}/devel/libslang

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

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${PREFIX}/share/doc/slirc
.for f in ${DOCS}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/slirc/
.endfor
.endif
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>