aboutsummaryrefslogtreecommitdiff
path: root/math/liborigin
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2007-09-23 23:21:46 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2007-09-23 23:21:46 +0000
commit6f3e2436128da7bbc665230969daa838055639b7 (patch)
tree44e6b60da6f4c541ee93431a76a67f56923b7289 /math/liborigin
parentcb19fadd232f8c0ba256dddceb98e905de1b8870 (diff)
downloadports-6f3e2436128da7bbc665230969daa838055639b7.tar.gz
ports-6f3e2436128da7bbc665230969daa838055639b7.zip
maintainer update: math/liborigin
update to 20070821: 1. add conflict to math/labplot (see also ports/116321) 2. remove files/patch-Makefile.LINUX PR: ports/116576 Submitted by: Max Brazhnikov <makc@issp.ac.ru>
Notes
Notes: svn path=/head/; revision=200011
Diffstat (limited to 'math/liborigin')
-rw-r--r--math/liborigin/Makefile14
-rw-r--r--math/liborigin/distinfo6
-rw-r--r--math/liborigin/files/patch-Makefile.LINUX16
3 files changed, 14 insertions, 22 deletions
diff --git a/math/liborigin/Makefile b/math/liborigin/Makefile
index ea93941474fe..bfb600ddd157 100644
--- a/math/liborigin/Makefile
+++ b/math/liborigin/Makefile
@@ -6,25 +6,33 @@
#
PORTNAME= liborigin
-PORTVERSION= 20070529
+PORTVERSION= 20070821
CATEGORIES= math
MASTER_SITES= SF
+DISTNAME= ${PORTNAME}-2007-08-21
MAINTAINER= makc@issp.ac.ru
COMMENT= Tools for importing OriginLab .OPJ files
+CONFLICTS= LabPlot-[0-9]*
+
PLIST_FILES= bin/opj2dat \
include/OPJFile.h \
lib/liborigin.so \
lib/liborigin.so.0
USE_LDCONFIG= yes
-WRKSRC= ${WRKDIR}/${PORTNAME}
+
+post-patch:
+ @${REINPLACE_CMD} -e \
+ 's|g++|${CXX}|; \
+ s|^\(CFLAGS.*=\)|\1${CXXFLAGS} |' \
+ ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/opj2dat ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/OPJFile.h ${PREFIX}/include/
- ${INSTALL_PROGRAM} ${WRKSRC}/liborigin.so ${PREFIX}/lib/liborigin.so.0
+ ${INSTALL_PROGRAM} ${WRKSRC}/lib/liborigin.so.0.0.3 ${PREFIX}/lib/liborigin.so.0
${LN} -fs ${PREFIX}/lib/liborigin.so.0 ${PREFIX}/lib/liborigin.so
.include <bsd.port.mk>
diff --git a/math/liborigin/distinfo b/math/liborigin/distinfo
index 4710ec855bef..306cc6b0edac 100644
--- a/math/liborigin/distinfo
+++ b/math/liborigin/distinfo
@@ -1,3 +1,3 @@
-MD5 (liborigin-20070529.tar.gz) = fee326e07c4e4e40f339a241d38d3545
-SHA256 (liborigin-20070529.tar.gz) = b84f0afa3a24798be3a358fe5aaa9ba50d2eec1a02aff69bda7a9f138fad9277
-SIZE (liborigin-20070529.tar.gz) = 29402
+MD5 (liborigin-2007-08-21.tar.gz) = c08c5c5656e9bcf15107185d95e868d5
+SHA256 (liborigin-2007-08-21.tar.gz) = 7efe0fcbddc44c5d66b34ebb9bad6662864b919ba5b3ee166c991f554fc179f9
+SIZE (liborigin-2007-08-21.tar.gz) = 45977
diff --git a/math/liborigin/files/patch-Makefile.LINUX b/math/liborigin/files/patch-Makefile.LINUX
deleted file mode 100644
index 32d1d5e99dcb..000000000000
--- a/math/liborigin/files/patch-Makefile.LINUX
+++ /dev/null
@@ -1,16 +0,0 @@
---- ./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.3 OPJFile.o
-+ ${CXX} ${CXXFLAGS} -shared -fPIC OPJFile.cpp -o liborigin.so
-
- opj2dat: opj2dat.cpp OPJFile.cpp
-- g++ -o opj2dat opj2dat.cpp OPJFile.cpp
-+ ${CXX} ${CXXFLAGS} -o opj2dat opj2dat.cpp OPJFile.cpp
-
- clean :
- rm -f *~ *.o opj2dat $(TARGET).so*