aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2007-09-24 07:21:46 +0800
committeredwin <edwin@FreeBSD.org>2007-09-24 07:21:46 +0800
commit054cd686531bd87e68db159fbb396f5eb3f18d99 (patch)
treeea7f35d2211f72d5d13165e55dee070fb8d3c8b0
parent0e0e1742b7eac22815ca273fba5fc663074d2c7c (diff)
downloadfreebsd-ports-gnome-054cd686531bd87e68db159fbb396f5eb3f18d99.tar.gz
freebsd-ports-gnome-054cd686531bd87e68db159fbb396f5eb3f18d99.tar.zst
freebsd-ports-gnome-054cd686531bd87e68db159fbb396f5eb3f18d99.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>
-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*