diff options
author | Johan van Selst <johans@FreeBSD.org> | 2008-06-10 13:31:25 +0000 |
---|---|---|
committer | Johan van Selst <johans@FreeBSD.org> | 2008-06-10 13:31:25 +0000 |
commit | e9181cb81a652588e83ad21842a040d7f146bf59 (patch) | |
tree | b3add9a908668eba8f8bdc68370596c2a23a6fbf /lang/cduce | |
parent | d18c84837935a7d462230e08895cffb2a4e1298c (diff) |
Notes
Diffstat (limited to 'lang/cduce')
-rw-r--r-- | lang/cduce/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/lang/cduce/Makefile b/lang/cduce/Makefile index af071c9c0221..9d4f50d30c3a 100644 --- a/lang/cduce/Makefile +++ b/lang/cduce/Makefile @@ -6,6 +6,7 @@ PORTNAME= cduce PORTVERSION= 0.5.2.1 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= http://www.cduce.org/download/ \ ftp://ftp.stack.nl/pub/users/johans/cduce/ @@ -28,9 +29,9 @@ OPTIONS= OCURL "Enable url support via ftp/ocaml-ocurl" Off \ USE_GMAKE= yes ALL_TARGET= all -INSTALL_TARGET= install +INSTALL_TARGET= install_bin install_lib HAS_CONFIGURE= yes -CONFIGURE_ARGS= --prefix=${PREFIX} --with-ocamlopt --with-cgi --without-netclient --without-pxp_wlex +CONFIGURE_ARGS= --prefix=${PREFIX} --with-ocamlopt --with-cgi --without-netclient --without-pxp_wlex --docdir=${DOCSDIR} SITELIBDIR= ${LOCALBASE}/${OCAML_SITELIBDIR} WRKSRC= ${WRKDIR}/${DISTNAME:R} @@ -68,7 +69,6 @@ CONFIGURE_ARGS+= --mliface=`cd ${PORTSDIR}/lang/ocaml; ${MAKE} -V WRKSRC` .endif .if !defined(NOPORTDOCS) -CONFIGURE_ARGS+= --docdir=${PREFIX}/share/doc/${PORTNAME} ALL_TARGET+= doc INSTALL_TARGET+= install_doc PORTDOCS= * @@ -81,5 +81,10 @@ post-install: @${ECHO_CMD} "* when loading XML files with external DTD. *" @${ECHO_CMD} "****************************************************************" .endif +.if defined(NOPORTDOCS) +. for i in ${MAN1} + ${INSTALL_MAN} ${WRKSRC}/doc/${i} ${MANPREFIX}/man/man${i:E}/ +. endfor +.endif .include <bsd.port.post.mk> |