aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/xfpovray
diff options
context:
space:
mode:
authorsf <sf@FreeBSD.org>2000-12-31 02:30:19 +0800
committersf <sf@FreeBSD.org>2000-12-31 02:30:19 +0800
commit71af8f1bebf392e1697f778f0dded65d7095b529 (patch)
treeae77fcac8fbc6e75fc003a72757195077f1bd644 /graphics/xfpovray
parent4fcb7e9d78b09eab9839a48d7c60a0063971afb3 (diff)
downloadfreebsd-ports-graphics-71af8f1bebf392e1697f778f0dded65d7095b529.tar.gz
freebsd-ports-graphics-71af8f1bebf392e1697f778f0dded65d7095b529.tar.zst
freebsd-ports-graphics-71af8f1bebf392e1697f778f0dded65d7095b529.zip
use ComplexProgramTargetNoMan to avoid making html manpage with XFree86-4.
/usr/bin/perl -> ${PERL} PR: 23436 Submitted by: myself
Diffstat (limited to 'graphics/xfpovray')
-rw-r--r--graphics/xfpovray/Makefile3
-rw-r--r--graphics/xfpovray/files/patch-ac13
-rw-r--r--graphics/xfpovray/files/patch-ad20
3 files changed, 27 insertions, 9 deletions
diff --git a/graphics/xfpovray/Makefile b/graphics/xfpovray/Makefile
index 5a6b4205f0d..3d0d803c902 100644
--- a/graphics/xfpovray/Makefile
+++ b/graphics/xfpovray/Makefile
@@ -20,9 +20,8 @@ RUN_DEPENDS= povray:${PORTSDIR}/graphics/povray
USE_IMAKE= yes
USE_GMAKE= yes
-NO_INSTALL_MANPAGES= yes
post-patch:
- @/usr/bin/perl -pi -e "s|\@LOCALBASE\@|${LOCALBASE}|g;" ${WRKSRC}/src/xfpovray.h
+ ${PERL} -pi -e "s|\@LOCALBASE\@|${LOCALBASE}|g;" ${WRKSRC}/src/xfpovray.h
.include <bsd.port.mk>
diff --git a/graphics/xfpovray/files/patch-ac b/graphics/xfpovray/files/patch-ac
index 5ce6b31a847..b9ed852389f 100644
--- a/graphics/xfpovray/files/patch-ac
+++ b/graphics/xfpovray/files/patch-ac
@@ -1,5 +1,5 @@
---- src/Imakefile.orig Tue Feb 10 04:41:01 1998
-+++ src/Imakefile Tue Feb 17 08:39:41 1998
+--- src/Imakefile.orig Mon Feb 23 12:40:53 1998
++++ src/Imakefile Wed Nov 1 10:01:38 2000
@@ -9,8 +9,8 @@
XCOMM * * * No need to edit below here * * *
@@ -11,8 +11,8 @@
XFHELPDIR = $(XFLIBDIR)/help
SRCS = $(TOP)/build_pages.c \
-@@ -46,8 +46,8 @@
- $(TOP)/../help/Templates \
+@@ -49,12 +49,12 @@
+ $(TOP)/../help/Config_File \
$(TOP)/../help/help_topics
-EXTRA_LIBRARIES = -L$(XFORMS_LIBDIR) ../flx/libflx.a -lforms -lm
@@ -22,3 +22,8 @@
EXTRA_DEFINES = -DHELP_DIR=\"$(XFHELPDIR)\"
LDLIBS = $(EXTRA_LIBRARIES) $(XLIB)
+-ComplexProgramTarget(xfpovray)
++ComplexProgramTargetNoMan(xfpovray)
+ InstallMultipleDestFlags(install,$(XFHELP),$(XFHELPDIR),$(INSTDATFLAGS))
+
+ clean::
diff --git a/graphics/xfpovray/files/patch-ad b/graphics/xfpovray/files/patch-ad
index 1a0a376d5af..345a5395cd1 100644
--- a/graphics/xfpovray/files/patch-ad
+++ b/graphics/xfpovray/files/patch-ad
@@ -1,6 +1,15 @@
---- flx/Imakefile.orig Tue Feb 10 04:42:39 1998
-+++ flx/Imakefile Tue Feb 17 08:44:05 1998
-@@ -49,7 +49,7 @@
+--- flx/Imakefile.orig Sat Feb 21 10:03:08 1998
++++ flx/Imakefile Wed Nov 1 20:58:23 2000
+@@ -11,7 +11,7 @@
+ XCOMM * * * No need to edit below here * * *
+
+ SOREV = 0.1
+-LIBNAME = libflx.so.$(SOREV)
++LIBNAME = libflx.a
+
+
+
+@@ -51,12 +51,10 @@
-I$(TOP)/flx_show_dialog \
-I$(TOP)/flx_util
@@ -9,3 +18,8 @@
EXTRA_INCLUDES = -I$(XFORMS_INCDIR) $(INCS)
EXTRA_DEFINES =
LDLIBS = $(EXTRA_LIBRARIES) $(XLIB)
+-
+-ComplexProgramTarget($(LIBNAME))
+
+ NormalLibraryObjectRule()
+ NormalLibraryTarget(flx,$(OBJS))