diff options
author | Simon Barner <barner@FreeBSD.org> | 2006-09-05 07:23:02 +0000 |
---|---|---|
committer | Simon Barner <barner@FreeBSD.org> | 2006-09-05 07:23:02 +0000 |
commit | 2166e02c5093320cfd65c486c4728aa4f3d99a54 (patch) | |
tree | b839762382f7fe8619db82ff182785a22530f7c4 /math | |
parent | - Use proper mechanisms for pkg-message and rc script (diff) |
- Install missing header
- Respect CXX and CXXFLAGS
- Bump port revision
Submitted by: Max Brazhnikov <makc@issp.ac.ru> (maintainer)
PR: ports/102814
Notes
Notes:
svn path=/head/; revision=172281
Diffstat (limited to 'math')
-rw-r--r-- | math/liborigin/Makefile | 3 | ||||
-rw-r--r-- | math/liborigin/files/patch-Makefile.LINUX | 15 |
2 files changed, 18 insertions, 0 deletions
diff --git a/math/liborigin/Makefile b/math/liborigin/Makefile index c7389446c326..882a760902fc 100644 --- a/math/liborigin/Makefile +++ b/math/liborigin/Makefile @@ -7,6 +7,7 @@ PORTNAME= liborigin PORTVERSION= 20060616 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -15,6 +16,7 @@ MAINTAINER= makc@issp.ac.ru COMMENT= Tools for importing OriginLab .OPJ files PLIST_FILES= bin/opj2dat \ + include/OPJFile.h \ lib/liborigin.so \ lib/liborigin.so.0 @@ -22,6 +24,7 @@ USE_LDCONFIG= yes do-install: ${INSTALL_PROGRAM} ${WRKSRC}/opj2dat ${PREFIX}/bin + ${CP} ${WRKSRC}/OPJFile.h ${PREFIX}/include/OPJFile.h ${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/files/patch-Makefile.LINUX b/math/liborigin/files/patch-Makefile.LINUX new file mode 100644 index 000000000000..5daebf3dd2b8 --- /dev/null +++ b/math/liborigin/files/patch-Makefile.LINUX @@ -0,0 +1,15 @@ +--- 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 + + liborigin.so : OPJFile.cpp OPJFile.h +- g++ -shared -fPIC OPJFile.cpp -o liborigin.so ++ ${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 liborigin.so |