diff options
author | Cy Schubert <cy@FreeBSD.org> | 2008-05-23 21:01:58 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2008-05-23 21:01:58 +0000 |
commit | 6d4aa839c8cdb87f7568725dc7b86a60214d87b7 (patch) | |
tree | 7f0fc28f7c93482a2f18782e389fb9b4732eae3b | |
parent | 7d01e7820f845b5a8c26ca458faa89599962785e (diff) | |
download | ports-6d4aa839c8cdb87f7568725dc7b86a60214d87b7.tar.gz ports-6d4aa839c8cdb87f7568725dc7b86a60214d87b7.zip |
Convert missing WANT_KRB5_DOC pieces.
Add HTML documentation OPTION knob.
Notes
Notes:
svn path=/head/; revision=213562
-rw-r--r-- | security/krb5-16/Makefile | 10 | ||||
-rw-r--r-- | security/krb5-17/Makefile | 10 | ||||
-rw-r--r-- | security/krb5-appl/Makefile | 10 | ||||
-rw-r--r-- | security/krb5/Makefile | 10 |
4 files changed, 20 insertions, 20 deletions
diff --git a/security/krb5-16/Makefile b/security/krb5-16/Makefile index e2398c85a936..c3bc68fef620 100644 --- a/security/krb5-16/Makefile +++ b/security/krb5-16/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 diff --git a/security/krb5-17/Makefile b/security/krb5-17/Makefile index e2398c85a936..c3bc68fef620 100644 --- a/security/krb5-17/Makefile +++ b/security/krb5-17/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 diff --git a/security/krb5-appl/Makefile b/security/krb5-appl/Makefile index e2398c85a936..c3bc68fef620 100644 --- a/security/krb5-appl/Makefile +++ b/security/krb5-appl/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 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 |