aboutsummaryrefslogtreecommitdiff
path: root/graphics/opendx
diff options
context:
space:
mode:
authorStephen Montgomery-Smith <stephen@FreeBSD.org>2013-08-19 00:44:56 +0000
committerStephen Montgomery-Smith <stephen@FreeBSD.org>2013-08-19 00:44:56 +0000
commitb25b5609497d1e842696a6037672466aaf1baacb (patch)
treeccaa0eaf662d02cf64b7e429ff3d1b315e8d482e /graphics/opendx
parent68c5c21d791a41c47381a692ea9d1971dbb9c992 (diff)
downloadports-b25b5609497d1e842696a6037672466aaf1baacb.tar.gz
ports-b25b5609497d1e842696a6037672466aaf1baacb.zip
Notes
Diffstat (limited to 'graphics/opendx')
-rw-r--r--graphics/opendx/Makefile6
-rw-r--r--graphics/opendx/files/patch-man_Makefile.in11
-rw-r--r--graphics/opendx/files/patch-man_manl_Makefile.in11
-rw-r--r--graphics/opendx/pkg-plist5
4 files changed, 26 insertions, 7 deletions
diff --git a/graphics/opendx/Makefile b/graphics/opendx/Makefile
index cdeb1efa2872..f7bffe03a667 100644
--- a/graphics/opendx/Makefile
+++ b/graphics/opendx/Makefile
@@ -3,8 +3,8 @@
PORTNAME= opendx
PORTVERSION= 4.4.4
-PORTREVISION= 12
-CATEGORIES= graphics math
+PORTREVISION= 13
+CATEGORIES= graphics math java
MASTER_SITES= http://www.sfr-fresh.com/unix/misc/
DISTNAME= dx-${PORTVERSION}
@@ -20,6 +20,7 @@ USES= bison motif gmake
USE_GCC= any
USE_GL= yes
USE_AUTOTOOLS= libtool
+USE_LDCONFIG= yes
CFLAGS+= ${PTHREAD_CFLAGS}
CONFIGURE_ENV= ARCH="${OPSYS:L}"
CPPFLAGS+= ${CXXFLAGS} -I${LOCALBASE}/include
@@ -27,6 +28,7 @@ LDFLAGS+= -L${LOCALBASE}/lib
NO_MTREE= yes
PLIST_SUB= ARCH=${OPSYS:L}
PKGMESSAGE= ${WRKDIR}/pkg-message
+MANL= dx.l
.if defined(WITH_HDF) && !defined(WITHOUT_NETCDF)
IGNORE= HDF and NETCDF are conflicting
diff --git a/graphics/opendx/files/patch-man_Makefile.in b/graphics/opendx/files/patch-man_Makefile.in
new file mode 100644
index 000000000000..3dbfd996b6ef
--- /dev/null
+++ b/graphics/opendx/files/patch-man_Makefile.in
@@ -0,0 +1,11 @@
+--- man/Makefile.in-orig 2013-08-19 00:29:56.000000000 +0000
++++ man/Makefile.in 2013-08-19 00:30:29.000000000 +0000
+@@ -202,7 +202,7 @@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+ yakker = @yakker@
+-SUBDIRS = manl catl
++SUBDIRS = manl
+ all: all-recursive
+
+ .SUFFIXES:
diff --git a/graphics/opendx/files/patch-man_manl_Makefile.in b/graphics/opendx/files/patch-man_manl_Makefile.in
new file mode 100644
index 000000000000..44fe7c79b6a1
--- /dev/null
+++ b/graphics/opendx/files/patch-man_manl_Makefile.in
@@ -0,0 +1,11 @@
+--- man/manl/Makefile.in-orig 2013-08-19 00:32:40.000000000 +0000
++++ man/manl/Makefile.in 2013-08-19 00:33:00.000000000 +0000
+@@ -186,7 +186,7 @@
+ libdir = @libdir@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+-mandir = $(prefix)/dx/man
++mandir = $(prefix)/man
+ mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
diff --git a/graphics/opendx/pkg-plist b/graphics/opendx/pkg-plist
index 23de37a40813..dca7db2646c9 100644
--- a/graphics/opendx/pkg-plist
+++ b/graphics/opendx/pkg-plist
@@ -2276,8 +2276,6 @@ dx/lib_%%ARCH%%/libDXlite.la
dx/lib_%%ARCH%%/libDXlite.so
dx/lib_%%ARCH%%/libDXlite.so.4
dx/lib_%%ARCH%%/arch.mak
-dx/man/catl/dx.l
-dx/man/manl/dx.l
dx/ui/Basic2D.cfg
dx/ui/Basic2D.net
dx/ui/Basic3D.cfg
@@ -2324,9 +2322,6 @@ dx/ui/testssheet.net
dx/ui/ui.mdf
dx/ui/viewer.net
@dirrm dx/ui
-@dirrm dx/man/manl
-@dirrm dx/man/catl
-@dirrm dx/man
@dirrm dx/lib_%%ARCH%%
@dirrm dx/lib
%%JAVA%%@dirrm dx/java/user