diff options
author | Jacques Vidrine <nectar@FreeBSD.org> | 2000-01-17 20:07:39 +0000 |
---|---|---|
committer | Jacques Vidrine <nectar@FreeBSD.org> | 2000-01-17 20:07:39 +0000 |
commit | a16e97dfc4f71f8f6a02ff2a027d550aa4222614 (patch) | |
tree | bddc751f74cc8be4531f82478cff0fef7eec8bb8 /security/heimdal/Makefile | |
parent | f6c6c94f42a28cb59e0ce612a72822abcadf3def (diff) |
. fix packing list for cases with/without X, with/without KRB4
. restore HEIMDAL_HOME for PREFIX handling
Notes
Notes:
svn path=/head/; revision=24800
Diffstat (limited to 'security/heimdal/Makefile')
-rw-r--r-- | security/heimdal/Makefile | 42 |
1 files changed, 40 insertions, 2 deletions
diff --git a/security/heimdal/Makefile b/security/heimdal/Makefile index 74909d9a7921..d09acca7b933 100644 --- a/security/heimdal/Makefile +++ b/security/heimdal/Makefile @@ -18,7 +18,7 @@ MAINTAINER= nectar@FreeBSD.ORG RESTRICTED= "Crypto; export-controlled" MAN1= ftp.1 kdestroy.1 kgetcred.1 kinit.1 klist.1 kpasswd.1 \ - kx.1 rxtelnet.1 rxterm.1 telnet.1 tenletxr.1 + telnet.1 MAN3= editline.3 krb5_425_conv_principal.3 kafs.3 \ krb5_build_principal.3 krb5_free_principal.3 \ krb5_openlog.3 krb5_parse_name.3 \ @@ -26,7 +26,7 @@ MAN3= editline.3 krb5_425_conv_principal.3 kafs.3 \ krb5_warn.3 MAN5= ftpusers.5 krb5.conf.5 MAN8= ftpd.8 hprop.8 hpropd.8 kdc.8 kpasswdd.8 kstash.8 \ - ktutil.8 kxd.8 push.8 telnetd.8 + ktutil.8 push.8 telnetd.8 USE_LIBTOOL= YES CONFIGURE_ARGS= --prefix=${PREFIX} --enable-shared @@ -35,7 +35,45 @@ CONFIGURE_ARGS= --prefix=${PREFIX} --enable-shared CONFIGURE_ARGS+= --without-krb4 .endif +.if defined(HEIMDAL_HOME) +PREFIX= ${HEIMDAL_HOME} +.endif + +.if exists(${X11BASE}/lib/libX11.a) && !defined(NO_X11) +USE_XLIB= yes +.endif + +.if defined(USE_XLIB) +MAN1+= kx.1 rxtelnet.1 rxterm.1 tenletxr.1 +MAN8+= kxd.8 +CONFIGURE_ARGS+= --with-x +.else +CONFIGURE_ARGS+= --without-x +.endif + +.if exists(/usr/lib/libkrb.a) && !defined(NO_KRB4) +WITH_KRB4= yes +.endif + +.if defined(WITH_KRB4) +CONFIGURE_ARGS+= --with-krb4 +.else +CONFIGURE_ARGS+= --without-krb4 +.endif + +PLIST:= ${WRKDIR}/PLIST + +pre-install: + @${CP} ${PKGDIR}/PLIST ${PLIST} +.if defined(WITH_KRB4) + @${CAT} ${PKGDIR}/PLIST.KRB4 >> ${PLIST} +.endif +.if defined(USE_XLIB) + @${CAT} ${PKGDIR}/PLIST.X11 >> ${PLIST} +.endif + post-install: + install-info ${PREFIX}/info/heimdal.info ${PREFIX}/info/dir ${SETENV} OBJFORMAT="${PORTOBJFORMAT}" ${LDCONFIG} -m ${PREFIX}/lib .include <bsd.port.mk> |