aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/liborigin/Makefile4
-rw-r--r--math/liborigin/distinfo6
-rw-r--r--math/liborigin/files/patch-Makefile.LINUX15
3 files changed, 13 insertions, 12 deletions
diff --git a/math/liborigin/Makefile b/math/liborigin/Makefile
index 882a760902fc..212062c9691b 100644
--- a/math/liborigin/Makefile
+++ b/math/liborigin/Makefile
@@ -6,11 +6,11 @@
#
PORTNAME= liborigin
-PORTVERSION= 20060616
-PORTREVISION= 1
+PORTVERSION= 20070115
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
+EXTRACT_SUFX= .tgz
MAINTAINER= makc@issp.ac.ru
COMMENT= Tools for importing OriginLab .OPJ files
diff --git a/math/liborigin/distinfo b/math/liborigin/distinfo
index d3a9d4ff828e..2462ce825021 100644
--- a/math/liborigin/distinfo
+++ b/math/liborigin/distinfo
@@ -1,3 +1,3 @@
-MD5 (liborigin-20060616.tar.gz) = 37cddf26175fb335c77ff448170770c2
-SHA256 (liborigin-20060616.tar.gz) = 9daad51b7bda61ae9acc17eaa3b98761c7a0225eb1822bebe75b54154c03aaf0
-SIZE (liborigin-20060616.tar.gz) = 17643
+MD5 (liborigin-20070115.tgz) = 5ed1c7c0955f935d3b4e45fb25e1d7fc
+SHA256 (liborigin-20070115.tgz) = 125de16ffc055102bd0aaf31de71ad5daeefc962aea97723b75611800f9ecd38
+SIZE (liborigin-20070115.tgz) = 20308
diff --git a/math/liborigin/files/patch-Makefile.LINUX b/math/liborigin/files/patch-Makefile.LINUX
index 5daebf3dd2b8..e32e0add1ac9 100644
--- a/math/liborigin/files/patch-Makefile.LINUX
+++ b/math/liborigin/files/patch-Makefile.LINUX
@@ -1,10 +1,11 @@
---- Makefile.LINUX.orig Mon Sep 4 20:57:52 2006
-+++ Makefile.LINUX Mon Sep 4 20:58:23 2006
-@@ -1,10 +1,10 @@
- all : opj2dat liborigin.so
+--- ./Makefile.LINUX.orig Mon Jan 8 22:38:05 2007
++++ ./Makefile.LINUX Fri Jan 26 17:59:06 2007
+@@ -5,11 +5,10 @@
+ all : opj2dat $(TARGET).so
- liborigin.so : OPJFile.cpp OPJFile.h
-- g++ -shared -fPIC OPJFile.cpp -o liborigin.so
+ $(TARGET).so : OPJFile.cpp OPJFile.h
+- $(CC) -c $(CFLAGS) OPJFile.cpp -o OPJFile.o
+- $(CC) $(LFLAGS) -o $(TARGET).so.0.0.1 OPJFile.o
+ ${CXX} ${CXXFLAGS} -shared -fPIC OPJFile.cpp -o liborigin.so
opj2dat: opj2dat.cpp OPJFile.cpp
@@ -12,4 +13,4 @@
+ ${CXX} ${CXXFLAGS} -o opj2dat opj2dat.cpp OPJFile.cpp
clean :
- rm -f *~ *.o opj2dat liborigin.so
+ rm -f *~ *.o opj2dat $(TARGET).so*