diff options
author | pgj <pgj@FreeBSD.org> | 2009-02-07 09:59:19 +0800 |
---|---|---|
committer | pgj <pgj@FreeBSD.org> | 2009-02-07 09:59:19 +0800 |
commit | 227061ee42f315ccf8d5d7d0cb58bf1adb24fce4 (patch) | |
tree | 3242c36574297fcc822b3fec32f23fc3d7e1670b /devel/hs-darcs/Makefile | |
parent | e67fa2abfe6f77f8215f0b33676ac8b8c7c147b2 (diff) | |
download | freebsd-ports-gnome-227061ee42f315ccf8d5d7d0cb58bf1adb24fce4.tar.gz freebsd-ports-gnome-227061ee42f315ccf8d5d7d0cb58bf1adb24fce4.tar.zst freebsd-ports-gnome-227061ee42f315ccf8d5d7d0cb58bf1adb24fce4.zip |
- Update to 2.2.0
- Improve PORTDOCS
- Add textproc/latex2html as dependency for the better documentation
generation
- Add a warning message for 6.x users as there might be configure crashes
- Fix pkg-descr
Approved by: gabor
Diffstat (limited to 'devel/hs-darcs/Makefile')
-rw-r--r-- | devel/hs-darcs/Makefile | 31 |
1 files changed, 26 insertions, 5 deletions
diff --git a/devel/hs-darcs/Makefile b/devel/hs-darcs/Makefile index def06117e1aa..06e76063eded 100644 --- a/devel/hs-darcs/Makefile +++ b/devel/hs-darcs/Makefile @@ -6,8 +6,7 @@ # PORTNAME= darcs -PORTVERSION= 2.0.2 -PORTREVISION= 1 +PORTVERSION= 2.2.0 CATEGORIES= devel MASTER_SITES= http://darcs.net/ @@ -25,7 +24,8 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ CFLAGS="" USE_GMAKE= yes MAKEFILE= GNUmakefile -INSTALL_TARGET= installbin +INSTALL_TARGET= install +PORTDOCS= manual examples .include <bsd.port.pre.mk> @@ -43,9 +43,12 @@ PLIST_SUB+= CGIDIR=${CGIDIR} SERVER="" PLIST_SUB+= SERVER="@comment " .endif .if !defined(NOPORTDOCS) -BUILD_DEPENDS+= latex:${PORTSDIR}/print/teTeX-base +BUILD_DEPENDS+= latex:${PORTSDIR}/print/teTeX-base \ + latex2html:${PORTSDIR}/textproc/latex2html ALL_TARGET+= doc/manual/darcs.ps doc/manual/patch-theory.pdf doc/manual/index.html -INSTALL_TARGET+= installdocs +INSTALL_TARGET+= install-ps install-pdf install-html install-examples +.else +CONFIGURE_ARGS+= --without-manual .endif MAN1= darcs.1 @@ -57,6 +60,24 @@ post-patch: ${WRKSRC}/${MAKEFILE} .endif +pre-configure: +.if ${OSVERSION} < 700000 + @${ECHO_MSG} "" + @${ECHO_MSG} "###############################################################################" + @${ECHO_MSG} " " + @${ECHO_MSG} " A T T E N T I O N " + @${ECHO_MSG} " " + @${ECHO_MSG} "If you experience problems during the configure process, please add the " + @${ECHO_MSG} "following lines to your /etc/libmap.conf configuration file: " + @${ECHO_MSG} " " + @${ECHO_MSG} "libpthread.so.1 libthr.so.1 " + @${ECHO_MSG} "libpthread.so.2 libthr.so.2 " + @${ECHO_MSG} "libkse.so.3 libthr.so.3 " + @${ECHO_MSG} " " + @${ECHO_MSG} "###############################################################################" + @${ECHO_MSG} "" +.endif + post-install: @${STRIP_CMD} ${PREFIX}/bin/darcs |