diff options
author | cy <cy@FreeBSD.org> | 2008-05-24 05:01:58 +0800 |
---|---|---|
committer | cy <cy@FreeBSD.org> | 2008-05-24 05:01:58 +0800 |
commit | a9a035c0d32720b85f03ba5f8921388f0a45c276 (patch) | |
tree | 7f1455051f85fffdec77b026b3b4756ac1ee63b4 /security/krb5 | |
parent | f18b07cf6729bb251748d4a4c4132db839f7ca53 (diff) | |
download | freebsd-ports-gnome-a9a035c0d32720b85f03ba5f8921388f0a45c276.tar.gz freebsd-ports-gnome-a9a035c0d32720b85f03ba5f8921388f0a45c276.tar.zst freebsd-ports-gnome-a9a035c0d32720b85f03ba5f8921388f0a45c276.zip |
Convert missing WANT_KRB5_DOC pieces.
Add HTML documentation OPTION knob.
Diffstat (limited to 'security/krb5')
-rw-r--r-- | security/krb5/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/security/krb5/Makefile b/security/krb5/Makefile index e2398c85a936..c3bc68fef620 100644 --- a/security/krb5/Makefile +++ b/security/krb5/Makefile @@ -43,7 +43,8 @@ OPTIONS= KRB5_RENAME_FTP "Rename ftp to kftp" off \ KRB5_RENAME_RSH "Rename rsh to krsh" off \ KRB5_RENAME_RCP "Rename rcp to krcp" off \ KRB5_KRB4_COMPAT "Build and install krb4 compatibility" off \ - KRB5_DOC "Build and install krb5 documentation" on + KRB5_DOC "Build and install krb5 documentation" on \ + WANT_HTML "Want HTML documentation too" on .include <bsd.port.pre.mk> @@ -128,7 +129,6 @@ CONFIGURE_ARGS+= --program-transform-name="${PROGRAM_TRANSFORM_NAME}" WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src -WANT_HTML?= YES HTML_DOC_DIR= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/doc HTML_DOCS= ftp.html kdestroy.html kinit.html klist.html \ kpasswd.html krb425.html krb5-admin.html \ @@ -160,7 +160,7 @@ pre-build: .endif post-build: -.if defined(KRB5_DOC) && ${KRB5_DOC} == "YES" +.if defined(WITH_KRB5_DOC) @cd ${WRKSRC}/../doc && \ ${MAKE} all .endif @@ -168,7 +168,7 @@ post-build: post-install: @${MKDIR} ${PREFIX}/share/doc/krb5 # html documentation -.if defined(KRB5_DOC) && ${KRB5_DOC} == "YES" && defined(WANT_HTML) && ${WANT_HTML} == "YES" +.if defined(WITH_KRB5_DOC) && defined(WITH_WANT_HTML) for html in ${HTML_DOC_DIR}/*.html; do \ ${INSTALL_MAN} $${html} ${PREFIX}/share/doc/krb5; \ ${ECHO_CMD} share/doc/krb5/`${BASENAME} $${html}` >> ${TMPPLIST}; \ @@ -176,7 +176,7 @@ post-install: .endif ${ECHO_CMD} @dirrm share/doc/krb5 >> ${TMPPLIST} # handle info files -.if defined(KRB5_DOC) && ${KRB5_DOC} == "YES" +.if defined(WITH_KRB5_DOC) .for info in ${INFO} ${INSTALL_MAN} ${WRKSRC}/../doc/${info}.info ${PREFIX}/info/${info}.info .endfor |