summaryrefslogtreecommitdiff
path: root/chat/tzc/Makefile
blob: 545f402667b1214f61ec6edb05d2af99b9acbe94 (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
# $NetBSD: Makefile,v 1.16 2013/02/18 20:13:56 dholland Exp $
#

DISTNAME=	tzc-2.6.15
PKGREVISION=	3
CATEGORIES=	chat net
MASTER_SITES=	http://www.cs.cmu.edu/People/dkindred/zephyr-mode/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.cs.cmu.edu/People/dkindred/zephyr/zephyr.html
COMMENT=	Back-end program for zephyr-mode

CPPFLAGS+=	-I${BUILDLINK_PREFIX.kth-krb4}/include/kerberosIV
CPPFLAGS+=	-I/usr/include/krb5
LDFLAGS+=	-lroken -lcrypto -lcom_err

.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD"
LDFLAGS+=	-lcrypt
SUBST_CLASSES+=		FreeFly
SUBST_STAGE.FreeFly=	post-patch
SUBST_MESSAGE.FreeFly=	Removing unwanted libdes
SUBST_FILES.FreeFly=	Makefile
SUBST_SED.FreeFly=	-e 's,-lkrb -ldes,-lkrb,g'
.endif

INSTALLATION_DIRS+=	bin

.include "../../chat/zephyr/buildlink3.mk"
.include "../../security/kth-krb4/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"