aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-06-15 09:36:38 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-06-15 09:36:38 +0000
commitdec19482b5760448aaae6aa77ba5e4daf085cb9a (patch)
tree98ff8528c33211d37d46120a4aa1cbcb0fc207e3 /math
parent00aca3f85bf58aa30c8a373793702cca3be8ae9a (diff)
downloadports-dec19482b5760448aaae6aa77ba5e4daf085cb9a.tar.gz
ports-dec19482b5760448aaae6aa77ba5e4daf085cb9a.zip
Notes
Diffstat (limited to 'math')
-rw-r--r--math/liborigin/Makefile9
-rw-r--r--math/liborigin/distinfo6
-rw-r--r--math/liborigin/files/patch-Makefile.LINUX8
3 files changed, 11 insertions, 12 deletions
diff --git a/math/liborigin/Makefile b/math/liborigin/Makefile
index 212062c9691b..ea93941474fe 100644
--- a/math/liborigin/Makefile
+++ b/math/liborigin/Makefile
@@ -6,11 +6,9 @@
#
PORTNAME= liborigin
-PORTVERSION= 20070115
+PORTVERSION= 20070529
CATEGORIES= math
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= ${PORTNAME}
-EXTRACT_SUFX= .tgz
+MASTER_SITES= SF
MAINTAINER= makc@issp.ac.ru
COMMENT= Tools for importing OriginLab .OPJ files
@@ -21,10 +19,11 @@ PLIST_FILES= bin/opj2dat \
lib/liborigin.so.0
USE_LDCONFIG= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/opj2dat ${PREFIX}/bin
- ${CP} ${WRKSRC}/OPJFile.h ${PREFIX}/include/OPJFile.h
+ ${INSTALL_DATA} ${WRKSRC}/OPJFile.h ${PREFIX}/include/
${INSTALL_PROGRAM} ${WRKSRC}/liborigin.so ${PREFIX}/lib/liborigin.so.0
${LN} -fs ${PREFIX}/lib/liborigin.so.0 ${PREFIX}/lib/liborigin.so
diff --git a/math/liborigin/distinfo b/math/liborigin/distinfo
index 2462ce825021..4710ec855bef 100644
--- a/math/liborigin/distinfo
+++ b/math/liborigin/distinfo
@@ -1,3 +1,3 @@
-MD5 (liborigin-20070115.tgz) = 5ed1c7c0955f935d3b4e45fb25e1d7fc
-SHA256 (liborigin-20070115.tgz) = 125de16ffc055102bd0aaf31de71ad5daeefc962aea97723b75611800f9ecd38
-SIZE (liborigin-20070115.tgz) = 20308
+MD5 (liborigin-20070529.tar.gz) = fee326e07c4e4e40f339a241d38d3545
+SHA256 (liborigin-20070529.tar.gz) = b84f0afa3a24798be3a358fe5aaa9ba50d2eec1a02aff69bda7a9f138fad9277
+SIZE (liborigin-20070529.tar.gz) = 29402
diff --git a/math/liborigin/files/patch-Makefile.LINUX b/math/liborigin/files/patch-Makefile.LINUX
index e32e0add1ac9..32d1d5e99dcb 100644
--- a/math/liborigin/files/patch-Makefile.LINUX
+++ b/math/liborigin/files/patch-Makefile.LINUX
@@ -1,11 +1,11 @@
---- ./Makefile.LINUX.orig Mon Jan 8 22:38:05 2007
-+++ ./Makefile.LINUX Fri Jan 26 17:59:06 2007
-@@ -5,11 +5,10 @@
+--- ./Makefile.LINUX.orig Tue May 29 12:38:51 2007
++++ ./Makefile.LINUX Sat Jun 2 13:46:24 2007
+@@ -6,11 +6,10 @@
all : opj2dat $(TARGET).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
+- $(CC) $(LFLAGS) -o $(TARGET).so.0.0.3 OPJFile.o
+ ${CXX} ${CXXFLAGS} -shared -fPIC OPJFile.cpp -o liborigin.so
opj2dat: opj2dat.cpp OPJFile.cpp