blob: aa15bdbb76e16635673ed7c0f617399e4b3156a1 (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# $NetBSD: Makefile,v 1.10 2016/09/21 20:58:14 jperkin Exp $
#
DISTNAME= irssi-xmpp-0.53
PKGREVISION= 1
CATEGORIES= chat
MASTER_SITES= http://cybione.org/~irssi-xmpp/files/
DISTFILES= ${DISTNAME}.tar.gz ${IRSSI_DISTFILE}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://cybione.org/~irssi-xmpp/
COMMENT= Irssi plugin to connect to the Jabber network
LICENSE= gnu-gpl-v2
DEPENDS+= irssi>=${IRSSI_VERSION}:../../chat/irssi
.include "../../mk/bsd.prefs.mk"
.include "../../chat/irssi/Makefile.common"
MAKE_JOBS_SAFE= no
USE_TOOLS+= pkg-config
WRKSRC= ${WRKDIR}/${IRSSI_DISTNAME}/${DISTNAME}
MAKE_ENV+= IRSSI_INCLUDE="${WRKDIR}/${IRSSI_DISTNAME}"
SUBST_CLASSES+= makefile
SUBST_STAGE.makefile= pre-build
SUBST_MESSAGE.makefile= Fixing doc-install Makefile target.
SUBST_FILES.makefile= Makefile
SUBST_SED.makefile+= -e '/docs/s/install/install -m 644/'
SUBST_CLASSES+= configmk
SUBST_STAGE.configmk= pre-build
SUBST_MESSAGE.configmk= Fixing CFLAGS and LDFLAGS to be user-settable.
SUBST_FILES.configmk= config.mk
SUBST_SED.configmk+= -e 's/^CFLAGS =/CFLAGS +=/'
SUBST_SED.configmk+= -e 's/^LDFLAGS =/LDFLAGS +=/'
SUBST_CLASSES.Darwin+= osxmk
SUBST_STAGE.osxmk= pre-build
SUBST_FILES.osxmk= config.mk
SUBST_SED.osxmk= -e 's,-shared,-dynamiclib -undefined dynamic_lookup,'
CFLAGS.SunOS+= -D__BEGIN_DECLS= -D__END_DECLS=
post-extract:
${MV} ${WRKDIR}/${DISTNAME} ${WRKDIR}/${IRSSI_DISTNAME}
${CP} ${IRSSI_CONFIG_H} ${WRKSRC}/src/config.h
.include "../../chat/loudmouth/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|