From 01870725b6e490210b619890765abcc6ed6b5c4d Mon Sep 17 00:00:00 2001 From: itetcu Date: Mon, 6 Jul 2009 14:56:42 +0000 Subject: - update to 3.0.20081216 from 3.0.20071212 - fix the build error with custom LOCALBASE [1] Submitted by: maintainer Reported by: QATty [1] --- science/simlib/Makefile | 6 ++++-- science/simlib/distinfo | 6 +++--- science/simlib/files/patch-src__Makefile.generic | 6 +++--- 3 files changed, 10 insertions(+), 8 deletions(-) (limited to 'science') diff --git a/science/simlib/Makefile b/science/simlib/Makefile index 229e34b294f9..ec3078bafeaf 100644 --- a/science/simlib/Makefile +++ b/science/simlib/Makefile @@ -6,10 +6,10 @@ # PORTNAME= simlib -PORTVERSION= 3.0.20071212 +PORTVERSION= 3.0.20081216 CATEGORIES= science MASTER_SITES= http://www.fit.vutbr.cz/~peringer/SIMLIB/source/ -DISTNAME= ${PORTNAME}3-${PORTVERSION:E} +DISTNAME= ${PORTNAME}-3-${PORTVERSION:E} MAINTAINER= wenheping@gmail.com COMMENT= SIMulation LIBrary for C++ programming language @@ -25,6 +25,8 @@ NOT_FOR_ARCHS_REASON= contains not working ${ARCH}-dependent assembly code post-patch: @${REINPLACE_CMD} -e 's|make|gmake|g' ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's#%%PREFIX%%#${PREFIX}#g' \ + ${WRKSRC}/src/Makefile.generic @${MV} ${WRKSRC}/src/Makefile.FreeBSD-i386 ${WRKSRC}/src/Makefile @${MV} ${WRKSRC}/examples/Makefile.FreeBSD-i386 ${WRKSRC}/examples/Makefile @${MV} ${WRKSRC}/tests/Makefile.FreeBSD-i386 ${WRKSRC}/tests/Makefile diff --git a/science/simlib/distinfo b/science/simlib/distinfo index 5ae54dcb8dbb..80075e627b0e 100644 --- a/science/simlib/distinfo +++ b/science/simlib/distinfo @@ -1,3 +1,3 @@ -MD5 (simlib3-20071212.tar.gz) = 7d3b6123234b756b228a2e379982cd2e -SHA256 (simlib3-20071212.tar.gz) = 41784cf5ec79c91256625dc802befa5e70788e04f5bf2394c334d8c7837d69b2 -SIZE (simlib3-20071212.tar.gz) = 1245014 +MD5 (simlib-3-20081216.tar.gz) = 03797c22321c0711f434a21b191980c6 +SHA256 (simlib-3-20081216.tar.gz) = 2dd5ac1e193f20cb7e5d09012fb87ee5ee7289d1c079394c13dea0c11886f770 +SIZE (simlib-3-20081216.tar.gz) = 1225010 diff --git a/science/simlib/files/patch-src__Makefile.generic b/science/simlib/files/patch-src__Makefile.generic index 504ebb8b0d11..eed108489b67 100644 --- a/science/simlib/files/patch-src__Makefile.generic +++ b/science/simlib/files/patch-src__Makefile.generic @@ -7,9 +7,9 @@ - install -m0644 $(SIMLIB_HEADERS) $(PREFIX)/include - install -m0644 $(LIBNAME).a $(PREFIX)/lib/lib$(LIBNAME).a - install -m0644 $(LIBNAME).so $(PREFIX)/lib/lib$(LIBNAME).so -+ $(BSD_INSTALL_DATA) $(SIMLIB_HEADERS) $(PREFIX)/include -+ $(BSD_INSTALL_PROGRAM) $(LIBNAME).a $(PREFIX)/lib/lib$(LIBNAME).a -+ $(BSD_INSTALL_PROGRAM) $(LIBNAME).so $(PREFIX)/lib/lib$(LIBNAME).so ++ $(BSD_INSTALL_DATA) $(SIMLIB_HEADERS) %%PREFIX%%/include ++ $(BSD_INSTALL_PROGRAM) $(LIBNAME).a %%PREFIX%%/lib/lib$(LIBNAME).a ++ $(BSD_INSTALL_PROGRAM) $(LIBNAME).so %%PREFIX%%/lib/lib$(LIBNAME).so @if ! grep '^'$(PREFIX)/lib'$$' /etc/ld.so.conf >/dev/null; then \ echo "Add $(PREFIX)/lib to /etc/ld.so.conf "; \ fi -- cgit