freebsd-ports/graphics/megapov/files/patch-Makefile
Maho Nakata ab050f80c4 Added a new port, megapov.
This is a extension of povray (famous ray tracer),
having a lot of new features.
# Clothray cloth simulation system
# Sim-POV mechanics simulation system
# Film exposure simulation
# Text object alignment
# Frame_Step feature
...
and much more.
2003-07-27 15:22:31 +00:00

32 lines
832 B
Text

--- Makefile.org Sat Jul 26 13:29:28 2003
+++ Makefile Sat Jul 26 13:30:01 2003
@@ -15,8 +15,8 @@
##############################################################################
-libdir = /usr/local/share/megapov
-docdir = /usr/local/share/doc/megapov-1.0
+libdir = ${PREFIX}/share/megapov
+docdir = ${PREFIX}/share/doc/megapov-1.0
#
# make stuff
@@ -32,14 +32,14 @@
install:
cd unix && $(MAKE) install
- @if test ! -d /usr/local/share; \
- then mkdir /usr/local/share; \
+ @if test ! -d ${PREFIX}/share; \
+ then mkdir ${PREFIX}/share; \
fi;
@if test ! -d $(libdir); \
then mkdir $(libdir); \
fi;
- @if test ! -d /usr/local/share/doc; \
- then mkdir /usr/local/share/doc; \
+ @if test ! -d ${PREFIX}/share/doc; \
+ then mkdir ${PREFIX}/share/doc; \
fi;
@if test ! -d $(docdir); \
then mkdir $(docdir); \