1999-10-30 23:38:05 +00:00
|
|
|
# Ports collection Makefile for: heimdal
|
|
|
|
# Date created: 10/23/1999
|
|
|
|
# Whom: nectar@FreeBSD.ORG
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-09 18:34:06 +00:00
|
|
|
PORTNAME= heimdal
|
2000-09-20 11:56:50 +00:00
|
|
|
PORTVERSION= 0.3c
|
2000-01-18 12:54:55 +00:00
|
|
|
CATEGORIES= security ipv6
|
1999-11-02 22:47:03 +00:00
|
|
|
MASTER_SITES= ftp://ftp.pdc.kth.se/pub/heimdal/src/ \
|
|
|
|
ftp://ftp.replay.com/pub/replay/crypto/APPS/kerberos/heimdal/ \
|
|
|
|
ftp://ftp.tuniv.szczecin.pl/dsk4/ftp.replay.com/pub/crypto/APPS/kerberos/heimdal/ \
|
|
|
|
ftp://ftp.hacktic.nl/pub/replay/crypto/APPS/kerberos/heimdal/
|
1999-10-30 23:38:05 +00:00
|
|
|
|
|
|
|
MAINTAINER= nectar@FreeBSD.ORG
|
|
|
|
|
2000-04-21 08:19:33 +00:00
|
|
|
RESTRICTED= "Crypto; export-controlled"
|
1999-10-30 23:38:05 +00:00
|
|
|
|
2000-08-30 13:59:56 +00:00
|
|
|
MAN1= ftp.1 kdestroy.1 kf.1 kgetcred.1 kinit.1 klist.1 kpasswd.1 \
|
2000-04-18 02:17:25 +00:00
|
|
|
telnet.1 kx.1 rxtelnet.1 rxterm.1 tenletxr.1 pfrom.1
|
2000-01-08 16:35:17 +00:00
|
|
|
MAN3= editline.3 krb5_425_conv_principal.3 kafs.3 \
|
2000-08-30 13:59:56 +00:00
|
|
|
krb5_appdefault.3 krb5_build_principal.3 krb5_config.3 \
|
|
|
|
krb5_free_principal.3 krb5_openlog.3 krb5_parse_name.3 \
|
|
|
|
krb5_sname_to_principal.3 krb5_unparse_name.3 krb5_warn.3
|
2000-01-08 16:35:17 +00:00
|
|
|
MAN5= ftpusers.5 krb5.conf.5
|
2000-08-30 13:59:56 +00:00
|
|
|
MAN8= ftpd.8 hprop.8 hpropd.8 kadmind.8 kdc.8 kfd.8 kpasswdd.8 \
|
|
|
|
kstash.8 \
|
2000-04-18 02:17:25 +00:00
|
|
|
ktutil.8 push.8 telnetd.8 kxd.8 verify_krb5_conf.8 \
|
|
|
|
string2key.8
|
1999-11-07 09:58:40 +00:00
|
|
|
|
2000-08-30 13:59:56 +00:00
|
|
|
# must use supplied ltconfig et. al. for now
|
|
|
|
#USE_LIBTOOL= yes
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2000-06-16 21:52:40 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
1999-11-07 09:58:40 +00:00
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} --enable-shared
|
1999-10-30 23:38:05 +00:00
|
|
|
|
2000-01-17 20:07:39 +00:00
|
|
|
.if defined(HEIMDAL_HOME)
|
2000-04-21 08:19:33 +00:00
|
|
|
PREFIX= ${HEIMDAL_HOME}
|
2000-01-17 20:07:39 +00:00
|
|
|
.endif
|
|
|
|
|
2000-04-17 00:19:02 +00:00
|
|
|
.if exists(${X11BASE}/lib/libX11.a) && !defined(WITHOUT_X11)
|
2000-01-17 20:07:39 +00:00
|
|
|
USE_XLIB= yes
|
2000-04-18 02:17:25 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(USE_XLIB)
|
|
|
|
# These man pages are always installed, so I moved them up
|
|
|
|
#MAN1+= kx.1 rxtelnet.1 rxterm.1 tenletxr.1
|
|
|
|
#MAN8+= kxd.8
|
2000-01-17 20:07:39 +00:00
|
|
|
CONFIGURE_ARGS+= --with-x
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-x
|
|
|
|
.endif
|
|
|
|
|
2000-04-17 00:19:02 +00:00
|
|
|
.if exists(/usr/lib/libkrb.a) && !defined(WITHOUT_KRB4)
|
2000-01-17 20:07:39 +00:00
|
|
|
CONFIGURE_ARGS+= --with-krb4
|
2000-04-17 00:19:02 +00:00
|
|
|
.elif !defined(KRB5_KRB4_COMPAT)
|
2000-01-17 20:07:39 +00:00
|
|
|
CONFIGURE_ARGS+= --without-krb4
|
|
|
|
.endif
|
|
|
|
|
|
|
|
PLIST:= ${WRKDIR}/PLIST
|
|
|
|
|
|
|
|
pre-install:
|
2000-10-08 05:57:33 +00:00
|
|
|
@${CP} ${PKGDIR}/pkg-plist ${PLIST}
|
2000-04-17 00:19:02 +00:00
|
|
|
.if exists(/usr/lib/libkrb.a) && !defined(WITHOUT_KRB4)
|
2000-10-08 05:57:33 +00:00
|
|
|
@${CAT} ${PKGDIR}/pkg-plist.krb4 >> ${PLIST}
|
2000-01-17 20:07:39 +00:00
|
|
|
.endif
|
|
|
|
.if defined(USE_XLIB)
|
2000-10-08 05:57:33 +00:00
|
|
|
@${CAT} ${PKGDIR}/pkg-plist.x11 >> ${PLIST}
|
2000-01-17 20:07:39 +00:00
|
|
|
.endif
|
|
|
|
|
2000-03-31 05:20:41 +00:00
|
|
|
# awful hack to avoid running automake after patching configure
|
|
|
|
pre-configure:
|
|
|
|
@find ${WRKSRC} -name Makefile.in -exec ${TOUCH} {} \;
|
|
|
|
@${TOUCH} ${WRKSRC}/include/stamp-h.in
|
|
|
|
@${TOUCH} ${WRKSRC}/include/config.h.in
|
|
|
|
|
1999-11-06 18:03:56 +00:00
|
|
|
post-install:
|
2000-01-17 20:07:39 +00:00
|
|
|
install-info ${PREFIX}/info/heimdal.info ${PREFIX}/info/dir
|
1999-10-30 23:56:19 +00:00
|
|
|
|
1999-10-30 23:38:05 +00:00
|
|
|
.include <bsd.port.mk>
|