diff options
author | barner <barner@FreeBSD.org> | 2006-09-05 15:23:02 +0800 |
---|---|---|
committer | barner <barner@FreeBSD.org> | 2006-09-05 15:23:02 +0800 |
commit | aff7b40845905b71f70436f4add8d482c7b788b3 (patch) | |
tree | d6d94c23fcb7df009a06af60fc688dbdffe83c45 /math | |
parent | ccf30729fd18057759c18846c0c7284ba3ddf992 (diff) | |
download | freebsd-ports-gnome-aff7b40845905b71f70436f4add8d482c7b788b3.tar.gz freebsd-ports-gnome-aff7b40845905b71f70436f4add8d482c7b788b3.tar.zst freebsd-ports-gnome-aff7b40845905b71f70436f4add8d482c7b788b3.zip |
- Install missing header
- Respect CXX and CXXFLAGS
- Bump port revision
Submitted by: Max Brazhnikov <makc@issp.ac.ru> (maintainer)
PR: ports/102814
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 |