diff options
author | itetcu <itetcu@FreeBSD.org> | 2009-07-06 22:56:42 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2009-07-06 22:56:42 +0800 |
commit | 01870725b6e490210b619890765abcc6ed6b5c4d (patch) | |
tree | bbf2076ef1d5ebfe41cf4287094b981dc236171d /science | |
parent | 568e2be6a4bbe1e0156f9bf41afab297a81dbf77 (diff) | |
download | freebsd-ports-gnome-01870725b6e490210b619890765abcc6ed6b5c4d.tar.gz freebsd-ports-gnome-01870725b6e490210b619890765abcc6ed6b5c4d.tar.zst freebsd-ports-gnome-01870725b6e490210b619890765abcc6ed6b5c4d.zip |
- update to 3.0.20081216 from 3.0.20071212
- fix the build error with custom LOCALBASE [1]
Submitted by: maintainer
Reported by: QATty [1]
Diffstat (limited to 'science')
-rw-r--r-- | science/simlib/Makefile | 6 | ||||
-rw-r--r-- | science/simlib/distinfo | 6 | ||||
-rw-r--r-- | science/simlib/files/patch-src__Makefile.generic | 6 |
3 files changed, 10 insertions, 8 deletions
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 |