summaryrefslogtreecommitdiff
path: root/chat/tzc/Makefile
blob: f411457ca8829f5dff001a04757fade29b754530 (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
# $NetBSD: Makefile,v 1.14 2011/11/28 19:44:14 marino 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

PKG_DESTDIR_SUPPORT=	user-destdir

CPPFLAGS+=	-I/usr/include/kerberosIV -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"