aboutsummaryrefslogtreecommitdiff
path: root/graphics/volpack
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2013-09-29 18:07:04 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2013-09-29 18:07:04 +0000
commit91ca64eec7a99715c078a9d0911c9f3e0ba15fc6 (patch)
tree2e86864058b46d9b9e70fe29c2cebfe0ba196bc7 /graphics/volpack
parent4a72f162246a24b449666fdfae06af98d6c7d05d (diff)
downloadports-91ca64eec7a99715c078a9d0911c9f3e0ba15fc6.tar.gz
ports-91ca64eec7a99715c078a9d0911c9f3e0ba15fc6.zip
Notes
Diffstat (limited to 'graphics/volpack')
-rw-r--r--graphics/volpack/Makefile55
-rw-r--r--graphics/volpack/files/patch-Makefile.in43
2 files changed, 69 insertions, 29 deletions
diff --git a/graphics/volpack/Makefile b/graphics/volpack/Makefile
index d23a024db169..be7e8bb4b167 100644
--- a/graphics/volpack/Makefile
+++ b/graphics/volpack/Makefile
@@ -15,31 +15,34 @@ LICENSE= BSD
GNU_CONFIGURE= yes
MAKE_ARGS= MFLAGS="" # required for bmake(1) and -jX builds
-PLIST_FILES= lib/libvolpack.a \
- include/volpack.h
+PLIST_FILES= lib/libvolpack.a include/volpack.h \
+ man/man3/volpack-BruteForce.3.gz man/man3/volpack-Callback.3.gz \
+ man/man3/volpack-ClientData.3.gz man/man3/volpack-ClsfyScalar.3.gz \
+ man/man3/volpack-ClsfyScan.3.gz man/man3/volpack-ClsfyTable.3.gz \
+ man/man3/volpack-ClsfyVolume.3.gz man/man3/volpack-Context.3.gz \
+ man/man3/volpack-CurrentMatrix.3.gz man/man3/volpack-Debug.3.gz \
+ man/man3/volpack-DepthCueing.3.gz man/man3/volpack-Enable.3.gz \
+ man/man3/volpack-Error.3.gz man/man3/volpack-Extract.3.gz \
+ man/man3/volpack-Filter.3.gz man/man3/volpack-FilterTab.3.gz \
+ man/man3/volpack-Get.3.gz man/man3/volpack-GetImage.3.gz \
+ man/man3/volpack-GetLight.3.gz man/man3/volpack-GetMaterial.3.gz \
+ man/man3/volpack-GetMatrix.3.gz man/man3/volpack-Identity.3.gz \
+ man/man3/volpack-Image.3.gz man/man3/volpack-Light.3.gz \
+ man/man3/volpack-LinAlgebra.3.gz man/man3/volpack-Load.3.gz \
+ man/man3/volpack-LookupShader.3.gz man/man3/volpack-Material.3.gz \
+ man/man3/volpack-MinMaxOctree.3.gz man/man3/volpack-MultMatrix.3.gz \
+ man/man3/volpack-NormalIndex.3.gz man/man3/volpack-OctreeMask.3.gz \
+ man/man3/volpack-Ramp.3.gz man/man3/volpack-RawVoxels.3.gz \
+ man/man3/volpack-Render.3.gz man/man3/volpack-Resample.3.gz \
+ man/man3/volpack-Rotate.3.gz man/man3/volpack-Scale.3.gz \
+ man/man3/volpack-ScanNormals.3.gz man/man3/volpack-Set.3.gz \
+ man/man3/volpack-SetMatrix.3.gz man/man3/volpack-ShadeTable.3.gz \
+ man/man3/volpack-Shadow.3.gz man/man3/volpack-Store.3.gz \
+ man/man3/volpack-Timer.3.gz man/man3/volpack-TracePixel.3.gz \
+ man/man3/volpack-Translate.3.gz man/man3/volpack-Transpose.3.gz \
+ man/man3/volpack-VolPack.3.gz man/man3/volpack-VolumeNormals.3.gz \
+ man/man3/volpack-VolumeSize.3.gz man/man3/volpack-VoxelField.3.gz \
+ man/man3/volpack-VoxelSize.3.gz man/man3/volpack-Window.3.gz \
+ man/man3/volpack-WindowPHIGS.3.gz
-MAN3= volpack-BruteForce.3 volpack-Callback.3 \
- volpack-ClientData.3 volpack-ClsfyScalar.3 \
- volpack-ClsfyScan.3 volpack-ClsfyTable.3 \
- volpack-ClsfyVolume.3 volpack-Context.3 \
- volpack-CurrentMatrix.3 volpack-Debug.3 \
- volpack-DepthCueing.3 volpack-Enable.3 volpack-Error.3 \
- volpack-Extract.3 volpack-Filter.3 volpack-FilterTab.3 \
- volpack-Get.3 volpack-GetImage.3 volpack-GetLight.3 \
- volpack-GetMaterial.3 volpack-GetMatrix.3 \
- volpack-Identity.3 volpack-Image.3 volpack-Light.3 \
- volpack-LinAlgebra.3 volpack-Load.3 volpack-LookupShader.3 \
- volpack-Material.3 volpack-MinMaxOctree.3 \
- volpack-MultMatrix.3 volpack-NormalIndex.3 \
- volpack-OctreeMask.3 volpack-Ramp.3 volpack-RawVoxels.3 \
- volpack-Render.3 volpack-Resample.3 volpack-Rotate.3 \
- volpack-Scale.3 volpack-ScanNormals.3 volpack-Set.3 \
- volpack-SetMatrix.3 volpack-ShadeTable.3 volpack-Shadow.3 \
- volpack-Store.3 volpack-Timer.3 volpack-TracePixel.3 \
- volpack-Translate.3 volpack-Transpose.3 volpack-VolPack.3 \
- volpack-VolumeNormals.3 volpack-VolumeSize.3 \
- volpack-VoxelField.3 volpack-VoxelSize.3 volpack-Window.3 \
- volpack-WindowPHIGS.3
-
-NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/graphics/volpack/files/patch-Makefile.in b/graphics/volpack/files/patch-Makefile.in
index a4bf5c5ef838..634cdce3f48b 100644
--- a/graphics/volpack/files/patch-Makefile.in
+++ b/graphics/volpack/files/patch-Makefile.in
@@ -1,5 +1,5 @@
--- Makefile.in.orig 1994-12-12 21:21:47.000000000 +0100
-+++ Makefile.in 2013-07-31 15:38:51.000000000 +0800
++++ Makefile.in 2013-09-24 09:49:45.698631771 +0200
@@ -175,25 +175,13 @@
cc -o makeopts makeopts.c
@@ -29,6 +29,43 @@
examples: libvolpack.a
cd examples; make
+@@ -201,7 +189,7 @@
+ install: install-binaries install-include install-man
+
+ install-binaries: libvolpack.a
+- @for i in $(LIB_DIR) ; \
++ @for i in $(DESTDIR)$(LIB_DIR) ; \
+ do \
+ if [ ! -d $$i ] ; then \
+ echo "Making directory $$i"; \
+@@ -211,11 +199,11 @@
+ fi; \
+ done;
+ @echo "Installing libvolpack.a"
+- @$(INSTALL_DATA) libvolpack.a $(LIB_DIR)
+- @$(RANLIB) $(LIB_DIR)/libvolpack.a
++ @$(INSTALL_DATA) libvolpack.a $(DESTDIR)$(LIB_DIR)
++ @$(RANLIB) $(DESTDIR)$(LIB_DIR)/libvolpack.a
+
+ install-include:
+- @for i in $(INCLUDE_DIR) ; \
++ @for i in $(DESTDIR)$(INCLUDE_DIR) ; \
+ do \
+ if [ ! -d $$i ] ; then \
+ echo "Making directory $$i"; \
+@@ -225,10 +213,10 @@
+ fi; \
+ done;
+ @echo "Installing volpack.h"
+- @$(INSTALL_DATA) volpack.h $(INCLUDE_DIR)
++ @$(INSTALL_DATA) volpack.h $(DESTDIR)$(INCLUDE_DIR)
+
+ install-man:
+- @for i in $(MAN_DIR) $(MAN3_DIR) ; \
++ @for i in $(DESTDIR)$(MAN_DIR) $(DESTDIR)$(MAN3_DIR) ; \
+ do \
+ if [ ! -d $$i ] ; then \
+ echo "Making directory $$i"; \
@@ -239,10 +227,9 @@
done;
@cd $(SRC_DIR)/man/src; for i in *.3; \
@@ -38,8 +75,8 @@
- cp $$i $(MAN3_DIR); \
- chmod 444 $(MAN3_DIR)/$$i; \
+ echo "Installing man/src/volpack-$$i"; \
-+ cp $$i $(MAN3_DIR)/volpack-$$i; \
-+ chmod 444 $(MAN3_DIR)/volpack-$$i; \
++ cp $$i $(DESTDIR)$(MAN3_DIR)/volpack-$$i; \
++ chmod 444 $(DESTDIR)$(MAN3_DIR)/volpack-$$i; \
done;
Makefile: $(SRC_DIR)/Makefile.in