aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadpilot <madpilot@FreeBSD.org>2012-06-05 19:36:53 +0800
committermadpilot <madpilot@FreeBSD.org>2012-06-05 19:36:53 +0800
commit04c5deb4fd3441841209d06d8b0a3947846834bb (patch)
tree3c585c94e19952ed021c3b2ae8eecf6bf328c1ff
parentede9bbc272a37fa0f9dc16b7c106bb7ffe6f8c41 (diff)
downloadfreebsd-ports-gnome-04c5deb4fd3441841209d06d8b0a3947846834bb.tar.gz
freebsd-ports-gnome-04c5deb4fd3441841209d06d8b0a3947846834bb.tar.zst
freebsd-ports-gnome-04c5deb4fd3441841209d06d8b0a3947846834bb.zip
- Fix a conflict in man page names by prefixing them with "volpack-"
Reported by: Sulev-Madis "ketas" Silber <madis555@hot.ee> Approved by: crees (mentor)
-rw-r--r--graphics/volpack/Makefile35
-rw-r--r--graphics/volpack/files/patch-Makefile.in18
2 files changed, 39 insertions, 14 deletions
diff --git a/graphics/volpack/Makefile b/graphics/volpack/Makefile
index f245bfabb02e..69486a986067 100644
--- a/graphics/volpack/Makefile
+++ b/graphics/volpack/Makefile
@@ -7,6 +7,7 @@
PORTNAME= volpack
PORTVERSION= 1.0b3
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://www-graphics.stanford.edu/software/volpack/
EXTRACT_SUFX= .tar.Z
@@ -21,17 +22,27 @@ GNU_CONFIGURE= yes
PLIST_FILES= lib/libvolpack.a \
include/volpack.h
-MAN3= BruteForce.3 Callback.3 ClientData.3 ClsfyScalar.3 \
- ClsfyScan.3 ClsfyTable.3 ClsfyVolume.3 Context.3 \
- CurrentMatrix.3 Debug.3 DepthCueing.3 Enable.3 Error.3 \
- Extract.3 Filter.3 FilterTab.3 Get.3 GetImage.3 \
- GetLight.3 GetMaterial.3 GetMatrix.3 Identity.3 \
- Image.3 Light.3 LinAlgebra.3 Load.3 LookupShader.3 \
- Material.3 MinMaxOctree.3 MultMatrix.3 NormalIndex.3 \
- OctreeMask.3 Ramp.3 RawVoxels.3 Render.3 Resample.3 \
- Rotate.3 Scale.3 ScanNormals.3 Set.3 SetMatrix.3 \
- ShadeTable.3 Shadow.3 Store.3 Timer.3 TracePixel.3 \
- Translate.3 Transpose.3 VolPack.3 VolumeNormals.3 \
- VolumeSize.3 VoxelField.3 VoxelSize.3 Window.3 WindowPHIGS.3
+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
.include <bsd.port.mk>
diff --git a/graphics/volpack/files/patch-Makefile.in b/graphics/volpack/files/patch-Makefile.in
index c809a0e545f6..4a557a2d3a32 100644
--- a/graphics/volpack/files/patch-Makefile.in
+++ b/graphics/volpack/files/patch-Makefile.in
@@ -1,5 +1,5 @@
---- Makefile.in.orig 2012-05-29 12:53:53.868426143 +0200
-+++ Makefile.in 2012-05-29 12:54:07.467425832 +0200
+--- Makefile.in.orig 1994-12-12 21:21:47.000000000 +0100
++++ Makefile.in 2012-06-05 13:26:24.552254340 +0200
@@ -175,7 +175,7 @@
cc -o makeopts makeopts.c
@@ -9,3 +9,17 @@
$(COMP_SRCS): $(COMP_IN)
@for i in $(COMP_SRCS) ; \
+@@ -239,10 +239,9 @@
+ done;
+ @cd $(SRC_DIR)/man/src; for i in *.3; \
+ do \
+- echo "Installing man/src/$$i"; \
+- rm -f $(MAN3_DIR)/$$i; \
+- 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; \
+ done;
+
+ Makefile: $(SRC_DIR)/Makefile.in