1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

1. Fix checksum error and update to 3.50c

3.50c includes some very minor bug fixes in
   script and source files.
2. Added WITH_OPTIMIZE_FLAGS for optimization
3. change e-mail of maintainer
4. bump port revision

Noticed by  : Rainer Duffner <rainer@ultra-secure.de>,
              Gettit Kuehn <gerrit@pmp.uni-hannover.de>
              and bento's log(no error at December?
              at least November's log I noticed there was
              checksum error)
Reviewed by : knu (mentor)
This commit is contained in:
Maho Nakata 2002-12-01 23:43:11 +00:00
parent dd97259952
commit 31e308c550
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=71281
21 changed files with 2586 additions and 2532 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= povray
PORTVERSION= 3.5
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.povray.org/pub/povray/%SUBDIR%/ \
ftp://ftp.gigabell.net/pub/unix/apps/graphics/povray/%SUBDIR%/ \
@ -18,34 +19,53 @@ DISTNAME= povuni_s
EXTRACT_SUFX= .tgz
DIST_SUBDIR= povray35
MAINTAINER= chat95@mbox.kyoto-inet.or.jp
MAINTAINER= maho@FreeBSD.org
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
tiff:${PORTSDIR}/graphics/tiff \
jpeg:${PORTSDIR}/graphics/jpeg \
vga:${PORTSDIR}/graphics/svgalib
WRKSRC= ${WRKDIR}/${PORTNAME}-3.50b
WRKSRC= ${WRKDIR}/${PORTNAME}-3.50c
USE_XLIB= yes
USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
.if defined(WITH_OPTIMIZED_FLAGS)
CFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double
CXXFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double -Wno-multichar
.if (${MACHINE_ARCH} == "i386")
CFLAGS+= -mcpu=i686 -march=i686 -mfancy-math-387
CXXFLAGS+= -mcpu=i686 -march=i686 -mfancy-math-387
.endif # i386
.endif
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -L${LOCALBASE}/lib -I${LOCALBASE}/include"
CONFIGURE_ARGS= --x-includes=${X11BASE}/include
CONFIGURE_ENV= CXXFLAGS="${CXXFLAGS} -L${LOCALBASE}/lib -I${LOCALBASE}/include" \
CFLAGS="${CFLAGS} -L${LOCALBASE}/lib -I${LOCALBASE}/include"
MAN1= povray.1
post-patch:
@${REINPLACE_CMD} -e 's+@PREFIX@+${PREFIX}+g;' ${WRKSRC}/povray.ini
@${REINPLACE_CMD} -e 's+%INSTALLDIR%+${PREFIX}/share/${PORTNAME}-${PORTVERSION}+g;' ${WRKSRC}/povray.conf
.if !defined(WITH_OPTIMIZED_FLAGS)
@${ECHO} "You can optimize by setting WITH_OPTIMIZED_FLAGS=yes."
.endif
do-install:
@(cd ${WRKSRC} && ${GMAKE} install-exec)
@(cd ${WRKSRC} && ${GMAKE} install-data)
@(cd ${WRKSRC} ; ${GMAKE} install-exec)
@(cd ${WRKSRC} ; ${GMAKE} install-data)
.if !defined(NOPORTDOCS)
@(cd ${WRKSRC} && ${GMAKE} install-docDATA)
@(cd ${WRKSRC}/doc && ${GMAKE} install)
@(cd ${WRKSRC} ; ${GMAKE} install-docDATA)
@(cd ${WRKSRC}/doc ; ${GMAKE} install)
.endif
@${RM} -f ${PREFIX}/man/man1/povray.1*
@${INSTALL_MAN} ${WRKSRC}/doc/povray.1 ${PREFIX}/man/man1
post-install:
@${SED} -e 's,/usr/local,${PREFIX},g' ${DESCR}
.include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (povray35/povuni_s.tgz) = dac11ca511752db7fe6649df26f3ab43
MD5 (povray35/povuni_s.tgz) = 2a7e44295f046157a948bbecbf1aa942

View File

@ -1,23 +1,23 @@
--- Makefile.in.orig Thu Aug 8 21:51:07 2002
+++ Makefile.in Sat Aug 17 08:01:49 2002
@@ -88,6 +88,7 @@
PACKAGE = @PACKAGE@
VERSION = @VERSION@
--- Makefile.in.orig Tue Oct 22 09:54:06 2002
+++ Makefile.in Sun Nov 17 23:56:45 2002
@@ -90,6 +90,7 @@
povlibdir = @datadir@/povray-3.5
SUBDIRS = doc include ini scenes scripts src tests
+SUBDIRS_DATA = include ini scenes scripts src tests
docdir = $(prefix)/share/doc/@PACKAGE@-@VERSION@
docdir = ${datadir}/doc/@PACKAGE@-@VERSION@
doc_DATA = povlegal.doc povwhere.txt gamma.gif gamma.gif.txt README README.unix
povlibdir = @datadir@/povray-3.5
@@ -99,7 +100,7 @@
povconfdir = @sysconfdir@
@@ -101,7 +102,7 @@
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = ./src/conf.h
CONFIG_CLEAN_FILES =
-DATA = $(doc_DATA) $(povlib_DATA)
+DATA = $(povlib_DATA) #$(doc_DATA)
-DATA = $(doc_DATA) $(sysconf_DATA)
+DATA = $(doc_DATA) #$(sysconf_DATA)
DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
Makefile.in NEWS aclocal.m4 configure configure.in install-sh missing \
@@ -202,7 +203,26 @@
@@ -204,7 +205,26 @@
@SET_MAKE@
@ -45,12 +45,12 @@
installdirs-recursive install-recursive uninstall-recursive \
check-recursive installcheck-recursive info-recursive dvi-recursive:
@set fnord $(MAKEFLAGS); amf=$$2; \
@@ -351,7 +371,7 @@
install-exec-am:
@@ -353,7 +373,7 @@
install-exec-am: install-sysconfDATA
install-exec: install-exec-recursive
-install-data-am: install-docDATA install-povlibDATA
+install-data-am: install-povlibDATA
-install-data-am: install-docDATA
+install-data-am: #install-docDATA
install-data: install-data-recursive
install-am: all-am

View File

@ -1,11 +1,11 @@
--- povray.ini.orig Fri Aug 16 22:04:30 2002
+++ povray.ini Fri Aug 16 22:04:52 2002
--- povray.ini.orig Tue Oct 22 09:54:06 2002
+++ povray.ini Mon Nov 18 00:00:35 2002
@@ -55,8 +55,8 @@
;; found in the current directory. New directories are added to the
;; search path, up to a maximum of 25.
-Library_Path=/usr/local/lib/povray-3.5
-Library_Path=/usr/local/lib/povray-3.5/include
-Library_Path=/usr/local/share/povray-3.5
-Library_Path=/usr/local/share/povray-3.5/include
+Library_Path=@PREFIX@/share/povray-3.5
+Library_Path=@PREFIX@/share/povray-3.5/include

View File

@ -1,6 +1,6 @@
--- src/Makefile.in.orig Thu Aug 8 09:51:00 2002
+++ src/Makefile.in Wed Sep 4 14:03:58 2002
@@ -89,10 +89,10 @@
--- src/Makefile.in.orig Tue Oct 22 09:54:20 2002
+++ src/Makefile.in Sun Dec 1 22:52:03 2002
@@ -89,11 +89,13 @@
VERSION = @VERSION@
bin_PROGRAMS = povray
povray_SOURCES = atmosph.cpp bbox.cpp bcyl.cpp benchmark.cpp bezier.cpp blob.cpp boxes.cpp bsphere.cpp camera.cpp chi2.cpp colour.cpp colutils.cpp cones.cpp csg.cpp discs.cpp express.cpp file_pov.cpp fncode.cpp fnintern.cpp fnpovfpu.cpp fnsyntax.cpp fpmetric.cpp fractal.cpp function.cpp gif.cpp gifdecod.cpp hcmplx.cpp hfield.cpp histogra.cpp iff.cpp image.cpp interior.cpp isosurf.cpp jpeg_pov.cpp lathe.cpp lbuffer.cpp lightgrp.cpp lighting.cpp matrices.cpp media.cpp mesh.cpp normal.cpp objects.cpp octree.cpp optin.cpp optout.cpp parse.cpp parsestr.cpp parstxtr.cpp pattern.cpp pgm.cpp photons.cpp pigment.cpp planes.cpp png_pov.cpp point.cpp poly.cpp polygon.cpp polysolv.cpp pov_mem.cpp povms.cpp povmscpp.cpp povmsend.cpp povmsrec.cpp povray.cpp pov_util.cpp ppm.cpp prism.cpp quadrics.cpp quatern.cpp rad_data.cpp radiosit.cpp ray.cpp render.cpp renderio.cpp sor.cpp spheres.cpp sphsweep.cpp splines.cpp statspov.cpp super.cpp targa.cpp texture.cpp tiff_pov.cpp tokenize.cpp torus.cpp triangle.cpp truetype.cpp txttest.cpp userdisp.cpp userio.cpp vbuffer.cpp vlbuffer.cpp warps.cpp unix.cpp povxlib.c config.h jversion.h optout.h povxlib.h atmosph.h bbox.h bcyl.h bezier.h blob.h boxes.h bsphere.h camera.h chi2.h colour.h colutils.h cones.h csg.h discs.h express.h file_pov.h fncode.h fnintern.h fnpovfpu.h fnsyntax.h fpmetric.h fractal.h frame.h function.h gifdecod.h gif.h hcmplx.h hfield.h histogra.h iff.h image.h interior.h isosurf.h jpeg_pov.h lathe.h lbuffer.h lightgrp.h lighting.h matrices.h media.h mesh.h normal.h objects.h octree.h optin.h parse.h parsestr.h parstxtr.h pattern.h pgm.h photons.h pigment.h planes.h png_pov.h point.h polygon.h poly.h polysolv.h pov_err.h pov_mem.h povmscpp.h povmsend.h povmsgid.h povms.h povmsrec.h povproto.h povray.h pov_util.h ppm.h prism.h quadrics.h quatern.h radiosit.h ray.h render.h renderio.h sor.h spheres.h sphsweep.h splines.h statspov.h super.h targa.h texture.h tiff_pov.h tokenize.h torus.h triangle.h truetype.h txttest.h userdisp.h userio.h vbuffer.h vector.h vlbuffer.h warps.h conf.h
@ -8,12 +8,16 @@
+DEFS = -DPREFIX=\"$(prefix)\" -DPOV_LIB_DIR=\"@datadir@/povray-3.5\" -DCOMPILER_VER=\".FreeBSD.$(CC)\" -DSYSCONFDIR=\"$(sysconfdir)\" -DUSE_IO_RESTRICTIONS=\"$(ac_use_io_restrictions)\"
NOMULTICHAR = `if [ "X$(CC)" = "Xgcc" ]; then echo "-Wno-multichar"; fi `
LDADD = @X_LIBS@
-CXXFLAGS = $(NOMULTICHAR) -O3
+CXXFLAGS = $(NOMULTICHAR)
-CFLAGS = -O3 -mcpu=i586 -march=i586 -finline-functions -ffast-math -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double -foptimize-sibling-calls -minline-all-stringops -Wno-multichar
-CXXFLAGS = $(NOMULTICHAR) -O3 -mcpu=i586 -march=i586 -finline-functions -ffast-math -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double -foptimize-sibling-calls -minline-all-stringops -Wno-multichar
+#CFLAGS = -O3 -mcpu=i586 -march=i586 -finline-functions -ffast-math -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double -foptimize-sibling-calls -minline-all-stringops -Wno-multichar
+#CXXFLAGS = $(NOMULTICHAR) -O3 -mcpu=i586 -march=i586 -finline-functions -ffast-math -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double -foptimize-sibling-calls -minline-all-stringops -Wno-multichar
+CFLAGS = @CFLAGS@
+CXXFLAGS = @CXXFLAGS@
LDFLAGS = @X_CFLAGS@
EXTRA_DIST = xpovicon.xbm xpovmask.xbm xpovicon.xpm
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
@@ -101,7 +101,7 @@
@@ -102,7 +104,7 @@
PROGRAMS = $(bin_PROGRAMS)
CPPFLAGS = @CPPFLAGS@
@ -22,20 +26,13 @@
X_CFLAGS = @X_CFLAGS@
X_LIBS = @X_LIBS@
X_EXTRA_LIBS = @X_EXTRA_LIBS@
@@ -122,12 +122,13 @@
@@ -123,7 +125,8 @@
vlbuffer.o warps.o unix.o povxlib.o
povray_LDADD = $(LDADD)
povray_DEPENDENCIES =
-povray_LDFLAGS =
-CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+povray_LDFLAGS = -L$(libdir)
+INCLUDES = -I$(includedir)
+CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(X_CFLAGS)
+INCLUDES = -I$(includedir) $(X_CFLAGS)
CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
CXXLD = $(CXX)
CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
CFLAGS = @CFLAGS@
-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(X_CFLAGS)
CCLD = $(CC)
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
DIST_COMMON = ./stamp-h.in Makefile.am Makefile.in conf.h.in

View File

@ -9,6 +9,6 @@ process by any means, but it produces very high quality images with realistic
reflections, shading, perspective and other effects.
Legal and License information can be consulted in the following file
/usr/local/share/doc/povray-3.50b/povlegal.doc
/usr/local/share/doc/povray-3.50c/povlegal.doc
WWW: http://www.povray.org/

File diff suppressed because it is too large Load Diff

View File

@ -7,6 +7,7 @@
PORTNAME= povray
PORTVERSION= 3.5
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.povray.org/pub/povray/%SUBDIR%/ \
ftp://ftp.gigabell.net/pub/unix/apps/graphics/povray/%SUBDIR%/ \
@ -18,34 +19,53 @@ DISTNAME= povuni_s
EXTRACT_SUFX= .tgz
DIST_SUBDIR= povray35
MAINTAINER= chat95@mbox.kyoto-inet.or.jp
MAINTAINER= maho@FreeBSD.org
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
tiff:${PORTSDIR}/graphics/tiff \
jpeg:${PORTSDIR}/graphics/jpeg \
vga:${PORTSDIR}/graphics/svgalib
WRKSRC= ${WRKDIR}/${PORTNAME}-3.50b
WRKSRC= ${WRKDIR}/${PORTNAME}-3.50c
USE_XLIB= yes
USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
.if defined(WITH_OPTIMIZED_FLAGS)
CFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double
CXXFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double -Wno-multichar
.if (${MACHINE_ARCH} == "i386")
CFLAGS+= -mcpu=i686 -march=i686 -mfancy-math-387
CXXFLAGS+= -mcpu=i686 -march=i686 -mfancy-math-387
.endif # i386
.endif
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -L${LOCALBASE}/lib -I${LOCALBASE}/include"
CONFIGURE_ARGS= --x-includes=${X11BASE}/include
CONFIGURE_ENV= CXXFLAGS="${CXXFLAGS} -L${LOCALBASE}/lib -I${LOCALBASE}/include" \
CFLAGS="${CFLAGS} -L${LOCALBASE}/lib -I${LOCALBASE}/include"
MAN1= povray.1
post-patch:
@${REINPLACE_CMD} -e 's+@PREFIX@+${PREFIX}+g;' ${WRKSRC}/povray.ini
@${REINPLACE_CMD} -e 's+%INSTALLDIR%+${PREFIX}/share/${PORTNAME}-${PORTVERSION}+g;' ${WRKSRC}/povray.conf
.if !defined(WITH_OPTIMIZED_FLAGS)
@${ECHO} "You can optimize by setting WITH_OPTIMIZED_FLAGS=yes."
.endif
do-install:
@(cd ${WRKSRC} && ${GMAKE} install-exec)
@(cd ${WRKSRC} && ${GMAKE} install-data)
@(cd ${WRKSRC} ; ${GMAKE} install-exec)
@(cd ${WRKSRC} ; ${GMAKE} install-data)
.if !defined(NOPORTDOCS)
@(cd ${WRKSRC} && ${GMAKE} install-docDATA)
@(cd ${WRKSRC}/doc && ${GMAKE} install)
@(cd ${WRKSRC} ; ${GMAKE} install-docDATA)
@(cd ${WRKSRC}/doc ; ${GMAKE} install)
.endif
@${RM} -f ${PREFIX}/man/man1/povray.1*
@${INSTALL_MAN} ${WRKSRC}/doc/povray.1 ${PREFIX}/man/man1
post-install:
@${SED} -e 's,/usr/local,${PREFIX},g' ${DESCR}
.include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (povray35/povuni_s.tgz) = dac11ca511752db7fe6649df26f3ab43
MD5 (povray35/povuni_s.tgz) = 2a7e44295f046157a948bbecbf1aa942

View File

@ -1,23 +1,23 @@
--- Makefile.in.orig Thu Aug 8 21:51:07 2002
+++ Makefile.in Sat Aug 17 08:01:49 2002
@@ -88,6 +88,7 @@
PACKAGE = @PACKAGE@
VERSION = @VERSION@
--- Makefile.in.orig Tue Oct 22 09:54:06 2002
+++ Makefile.in Sun Nov 17 23:56:45 2002
@@ -90,6 +90,7 @@
povlibdir = @datadir@/povray-3.5
SUBDIRS = doc include ini scenes scripts src tests
+SUBDIRS_DATA = include ini scenes scripts src tests
docdir = $(prefix)/share/doc/@PACKAGE@-@VERSION@
docdir = ${datadir}/doc/@PACKAGE@-@VERSION@
doc_DATA = povlegal.doc povwhere.txt gamma.gif gamma.gif.txt README README.unix
povlibdir = @datadir@/povray-3.5
@@ -99,7 +100,7 @@
povconfdir = @sysconfdir@
@@ -101,7 +102,7 @@
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = ./src/conf.h
CONFIG_CLEAN_FILES =
-DATA = $(doc_DATA) $(povlib_DATA)
+DATA = $(povlib_DATA) #$(doc_DATA)
-DATA = $(doc_DATA) $(sysconf_DATA)
+DATA = $(doc_DATA) #$(sysconf_DATA)
DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
Makefile.in NEWS aclocal.m4 configure configure.in install-sh missing \
@@ -202,7 +203,26 @@
@@ -204,7 +205,26 @@
@SET_MAKE@
@ -45,12 +45,12 @@
installdirs-recursive install-recursive uninstall-recursive \
check-recursive installcheck-recursive info-recursive dvi-recursive:
@set fnord $(MAKEFLAGS); amf=$$2; \
@@ -351,7 +371,7 @@
install-exec-am:
@@ -353,7 +373,7 @@
install-exec-am: install-sysconfDATA
install-exec: install-exec-recursive
-install-data-am: install-docDATA install-povlibDATA
+install-data-am: install-povlibDATA
-install-data-am: install-docDATA
+install-data-am: #install-docDATA
install-data: install-data-recursive
install-am: all-am

View File

@ -1,11 +1,11 @@
--- povray.ini.orig Fri Aug 16 22:04:30 2002
+++ povray.ini Fri Aug 16 22:04:52 2002
--- povray.ini.orig Tue Oct 22 09:54:06 2002
+++ povray.ini Mon Nov 18 00:00:35 2002
@@ -55,8 +55,8 @@
;; found in the current directory. New directories are added to the
;; search path, up to a maximum of 25.
-Library_Path=/usr/local/lib/povray-3.5
-Library_Path=/usr/local/lib/povray-3.5/include
-Library_Path=/usr/local/share/povray-3.5
-Library_Path=/usr/local/share/povray-3.5/include
+Library_Path=@PREFIX@/share/povray-3.5
+Library_Path=@PREFIX@/share/povray-3.5/include

View File

@ -1,6 +1,6 @@
--- src/Makefile.in.orig Thu Aug 8 09:51:00 2002
+++ src/Makefile.in Wed Sep 4 14:03:58 2002
@@ -89,10 +89,10 @@
--- src/Makefile.in.orig Tue Oct 22 09:54:20 2002
+++ src/Makefile.in Sun Dec 1 22:52:03 2002
@@ -89,11 +89,13 @@
VERSION = @VERSION@
bin_PROGRAMS = povray
povray_SOURCES = atmosph.cpp bbox.cpp bcyl.cpp benchmark.cpp bezier.cpp blob.cpp boxes.cpp bsphere.cpp camera.cpp chi2.cpp colour.cpp colutils.cpp cones.cpp csg.cpp discs.cpp express.cpp file_pov.cpp fncode.cpp fnintern.cpp fnpovfpu.cpp fnsyntax.cpp fpmetric.cpp fractal.cpp function.cpp gif.cpp gifdecod.cpp hcmplx.cpp hfield.cpp histogra.cpp iff.cpp image.cpp interior.cpp isosurf.cpp jpeg_pov.cpp lathe.cpp lbuffer.cpp lightgrp.cpp lighting.cpp matrices.cpp media.cpp mesh.cpp normal.cpp objects.cpp octree.cpp optin.cpp optout.cpp parse.cpp parsestr.cpp parstxtr.cpp pattern.cpp pgm.cpp photons.cpp pigment.cpp planes.cpp png_pov.cpp point.cpp poly.cpp polygon.cpp polysolv.cpp pov_mem.cpp povms.cpp povmscpp.cpp povmsend.cpp povmsrec.cpp povray.cpp pov_util.cpp ppm.cpp prism.cpp quadrics.cpp quatern.cpp rad_data.cpp radiosit.cpp ray.cpp render.cpp renderio.cpp sor.cpp spheres.cpp sphsweep.cpp splines.cpp statspov.cpp super.cpp targa.cpp texture.cpp tiff_pov.cpp tokenize.cpp torus.cpp triangle.cpp truetype.cpp txttest.cpp userdisp.cpp userio.cpp vbuffer.cpp vlbuffer.cpp warps.cpp unix.cpp povxlib.c config.h jversion.h optout.h povxlib.h atmosph.h bbox.h bcyl.h bezier.h blob.h boxes.h bsphere.h camera.h chi2.h colour.h colutils.h cones.h csg.h discs.h express.h file_pov.h fncode.h fnintern.h fnpovfpu.h fnsyntax.h fpmetric.h fractal.h frame.h function.h gifdecod.h gif.h hcmplx.h hfield.h histogra.h iff.h image.h interior.h isosurf.h jpeg_pov.h lathe.h lbuffer.h lightgrp.h lighting.h matrices.h media.h mesh.h normal.h objects.h octree.h optin.h parse.h parsestr.h parstxtr.h pattern.h pgm.h photons.h pigment.h planes.h png_pov.h point.h polygon.h poly.h polysolv.h pov_err.h pov_mem.h povmscpp.h povmsend.h povmsgid.h povms.h povmsrec.h povproto.h povray.h pov_util.h ppm.h prism.h quadrics.h quatern.h radiosit.h ray.h render.h renderio.h sor.h spheres.h sphsweep.h splines.h statspov.h super.h targa.h texture.h tiff_pov.h tokenize.h torus.h triangle.h truetype.h txttest.h userdisp.h userio.h vbuffer.h vector.h vlbuffer.h warps.h conf.h
@ -8,12 +8,16 @@
+DEFS = -DPREFIX=\"$(prefix)\" -DPOV_LIB_DIR=\"@datadir@/povray-3.5\" -DCOMPILER_VER=\".FreeBSD.$(CC)\" -DSYSCONFDIR=\"$(sysconfdir)\" -DUSE_IO_RESTRICTIONS=\"$(ac_use_io_restrictions)\"
NOMULTICHAR = `if [ "X$(CC)" = "Xgcc" ]; then echo "-Wno-multichar"; fi `
LDADD = @X_LIBS@
-CXXFLAGS = $(NOMULTICHAR) -O3
+CXXFLAGS = $(NOMULTICHAR)
-CFLAGS = -O3 -mcpu=i586 -march=i586 -finline-functions -ffast-math -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double -foptimize-sibling-calls -minline-all-stringops -Wno-multichar
-CXXFLAGS = $(NOMULTICHAR) -O3 -mcpu=i586 -march=i586 -finline-functions -ffast-math -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double -foptimize-sibling-calls -minline-all-stringops -Wno-multichar
+#CFLAGS = -O3 -mcpu=i586 -march=i586 -finline-functions -ffast-math -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double -foptimize-sibling-calls -minline-all-stringops -Wno-multichar
+#CXXFLAGS = $(NOMULTICHAR) -O3 -mcpu=i586 -march=i586 -finline-functions -ffast-math -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double -foptimize-sibling-calls -minline-all-stringops -Wno-multichar
+CFLAGS = @CFLAGS@
+CXXFLAGS = @CXXFLAGS@
LDFLAGS = @X_CFLAGS@
EXTRA_DIST = xpovicon.xbm xpovmask.xbm xpovicon.xpm
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
@@ -101,7 +101,7 @@
@@ -102,7 +104,7 @@
PROGRAMS = $(bin_PROGRAMS)
CPPFLAGS = @CPPFLAGS@
@ -22,20 +26,13 @@
X_CFLAGS = @X_CFLAGS@
X_LIBS = @X_LIBS@
X_EXTRA_LIBS = @X_EXTRA_LIBS@
@@ -122,12 +122,13 @@
@@ -123,7 +125,8 @@
vlbuffer.o warps.o unix.o povxlib.o
povray_LDADD = $(LDADD)
povray_DEPENDENCIES =
-povray_LDFLAGS =
-CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+povray_LDFLAGS = -L$(libdir)
+INCLUDES = -I$(includedir)
+CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(X_CFLAGS)
+INCLUDES = -I$(includedir) $(X_CFLAGS)
CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
CXXLD = $(CXX)
CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
CFLAGS = @CFLAGS@
-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(X_CFLAGS)
CCLD = $(CC)
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
DIST_COMMON = ./stamp-h.in Makefile.am Makefile.in conf.h.in

View File

@ -9,6 +9,6 @@ process by any means, but it produces very high quality images with realistic
reflections, shading, perspective and other effects.
Legal and License information can be consulted in the following file
/usr/local/share/doc/povray-3.50b/povlegal.doc
/usr/local/share/doc/povray-3.50c/povlegal.doc
WWW: http://www.povray.org/

File diff suppressed because it is too large Load Diff

View File

@ -7,6 +7,7 @@
PORTNAME= povray
PORTVERSION= 3.5
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.povray.org/pub/povray/%SUBDIR%/ \
ftp://ftp.gigabell.net/pub/unix/apps/graphics/povray/%SUBDIR%/ \
@ -18,34 +19,53 @@ DISTNAME= povuni_s
EXTRACT_SUFX= .tgz
DIST_SUBDIR= povray35
MAINTAINER= chat95@mbox.kyoto-inet.or.jp
MAINTAINER= maho@FreeBSD.org
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
tiff:${PORTSDIR}/graphics/tiff \
jpeg:${PORTSDIR}/graphics/jpeg \
vga:${PORTSDIR}/graphics/svgalib
WRKSRC= ${WRKDIR}/${PORTNAME}-3.50b
WRKSRC= ${WRKDIR}/${PORTNAME}-3.50c
USE_XLIB= yes
USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
.if defined(WITH_OPTIMIZED_FLAGS)
CFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double
CXXFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double -Wno-multichar
.if (${MACHINE_ARCH} == "i386")
CFLAGS+= -mcpu=i686 -march=i686 -mfancy-math-387
CXXFLAGS+= -mcpu=i686 -march=i686 -mfancy-math-387
.endif # i386
.endif
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -L${LOCALBASE}/lib -I${LOCALBASE}/include"
CONFIGURE_ARGS= --x-includes=${X11BASE}/include
CONFIGURE_ENV= CXXFLAGS="${CXXFLAGS} -L${LOCALBASE}/lib -I${LOCALBASE}/include" \
CFLAGS="${CFLAGS} -L${LOCALBASE}/lib -I${LOCALBASE}/include"
MAN1= povray.1
post-patch:
@${REINPLACE_CMD} -e 's+@PREFIX@+${PREFIX}+g;' ${WRKSRC}/povray.ini
@${REINPLACE_CMD} -e 's+%INSTALLDIR%+${PREFIX}/share/${PORTNAME}-${PORTVERSION}+g;' ${WRKSRC}/povray.conf
.if !defined(WITH_OPTIMIZED_FLAGS)
@${ECHO} "You can optimize by setting WITH_OPTIMIZED_FLAGS=yes."
.endif
do-install:
@(cd ${WRKSRC} && ${GMAKE} install-exec)
@(cd ${WRKSRC} && ${GMAKE} install-data)
@(cd ${WRKSRC} ; ${GMAKE} install-exec)
@(cd ${WRKSRC} ; ${GMAKE} install-data)
.if !defined(NOPORTDOCS)
@(cd ${WRKSRC} && ${GMAKE} install-docDATA)
@(cd ${WRKSRC}/doc && ${GMAKE} install)
@(cd ${WRKSRC} ; ${GMAKE} install-docDATA)
@(cd ${WRKSRC}/doc ; ${GMAKE} install)
.endif
@${RM} -f ${PREFIX}/man/man1/povray.1*
@${INSTALL_MAN} ${WRKSRC}/doc/povray.1 ${PREFIX}/man/man1
post-install:
@${SED} -e 's,/usr/local,${PREFIX},g' ${DESCR}
.include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (povray35/povuni_s.tgz) = dac11ca511752db7fe6649df26f3ab43
MD5 (povray35/povuni_s.tgz) = 2a7e44295f046157a948bbecbf1aa942

View File

@ -1,23 +1,23 @@
--- Makefile.in.orig Thu Aug 8 21:51:07 2002
+++ Makefile.in Sat Aug 17 08:01:49 2002
@@ -88,6 +88,7 @@
PACKAGE = @PACKAGE@
VERSION = @VERSION@
--- Makefile.in.orig Tue Oct 22 09:54:06 2002
+++ Makefile.in Sun Nov 17 23:56:45 2002
@@ -90,6 +90,7 @@
povlibdir = @datadir@/povray-3.5
SUBDIRS = doc include ini scenes scripts src tests
+SUBDIRS_DATA = include ini scenes scripts src tests
docdir = $(prefix)/share/doc/@PACKAGE@-@VERSION@
docdir = ${datadir}/doc/@PACKAGE@-@VERSION@
doc_DATA = povlegal.doc povwhere.txt gamma.gif gamma.gif.txt README README.unix
povlibdir = @datadir@/povray-3.5
@@ -99,7 +100,7 @@
povconfdir = @sysconfdir@
@@ -101,7 +102,7 @@
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = ./src/conf.h
CONFIG_CLEAN_FILES =
-DATA = $(doc_DATA) $(povlib_DATA)
+DATA = $(povlib_DATA) #$(doc_DATA)
-DATA = $(doc_DATA) $(sysconf_DATA)
+DATA = $(doc_DATA) #$(sysconf_DATA)
DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
Makefile.in NEWS aclocal.m4 configure configure.in install-sh missing \
@@ -202,7 +203,26 @@
@@ -204,7 +205,26 @@
@SET_MAKE@
@ -45,12 +45,12 @@
installdirs-recursive install-recursive uninstall-recursive \
check-recursive installcheck-recursive info-recursive dvi-recursive:
@set fnord $(MAKEFLAGS); amf=$$2; \
@@ -351,7 +371,7 @@
install-exec-am:
@@ -353,7 +373,7 @@
install-exec-am: install-sysconfDATA
install-exec: install-exec-recursive
-install-data-am: install-docDATA install-povlibDATA
+install-data-am: install-povlibDATA
-install-data-am: install-docDATA
+install-data-am: #install-docDATA
install-data: install-data-recursive
install-am: all-am

View File

@ -1,11 +1,11 @@
--- povray.ini.orig Fri Aug 16 22:04:30 2002
+++ povray.ini Fri Aug 16 22:04:52 2002
--- povray.ini.orig Tue Oct 22 09:54:06 2002
+++ povray.ini Mon Nov 18 00:00:35 2002
@@ -55,8 +55,8 @@
;; found in the current directory. New directories are added to the
;; search path, up to a maximum of 25.
-Library_Path=/usr/local/lib/povray-3.5
-Library_Path=/usr/local/lib/povray-3.5/include
-Library_Path=/usr/local/share/povray-3.5
-Library_Path=/usr/local/share/povray-3.5/include
+Library_Path=@PREFIX@/share/povray-3.5
+Library_Path=@PREFIX@/share/povray-3.5/include

View File

@ -1,6 +1,6 @@
--- src/Makefile.in.orig Thu Aug 8 09:51:00 2002
+++ src/Makefile.in Wed Sep 4 14:03:58 2002
@@ -89,10 +89,10 @@
--- src/Makefile.in.orig Tue Oct 22 09:54:20 2002
+++ src/Makefile.in Sun Dec 1 22:52:03 2002
@@ -89,11 +89,13 @@
VERSION = @VERSION@
bin_PROGRAMS = povray
povray_SOURCES = atmosph.cpp bbox.cpp bcyl.cpp benchmark.cpp bezier.cpp blob.cpp boxes.cpp bsphere.cpp camera.cpp chi2.cpp colour.cpp colutils.cpp cones.cpp csg.cpp discs.cpp express.cpp file_pov.cpp fncode.cpp fnintern.cpp fnpovfpu.cpp fnsyntax.cpp fpmetric.cpp fractal.cpp function.cpp gif.cpp gifdecod.cpp hcmplx.cpp hfield.cpp histogra.cpp iff.cpp image.cpp interior.cpp isosurf.cpp jpeg_pov.cpp lathe.cpp lbuffer.cpp lightgrp.cpp lighting.cpp matrices.cpp media.cpp mesh.cpp normal.cpp objects.cpp octree.cpp optin.cpp optout.cpp parse.cpp parsestr.cpp parstxtr.cpp pattern.cpp pgm.cpp photons.cpp pigment.cpp planes.cpp png_pov.cpp point.cpp poly.cpp polygon.cpp polysolv.cpp pov_mem.cpp povms.cpp povmscpp.cpp povmsend.cpp povmsrec.cpp povray.cpp pov_util.cpp ppm.cpp prism.cpp quadrics.cpp quatern.cpp rad_data.cpp radiosit.cpp ray.cpp render.cpp renderio.cpp sor.cpp spheres.cpp sphsweep.cpp splines.cpp statspov.cpp super.cpp targa.cpp texture.cpp tiff_pov.cpp tokenize.cpp torus.cpp triangle.cpp truetype.cpp txttest.cpp userdisp.cpp userio.cpp vbuffer.cpp vlbuffer.cpp warps.cpp unix.cpp povxlib.c config.h jversion.h optout.h povxlib.h atmosph.h bbox.h bcyl.h bezier.h blob.h boxes.h bsphere.h camera.h chi2.h colour.h colutils.h cones.h csg.h discs.h express.h file_pov.h fncode.h fnintern.h fnpovfpu.h fnsyntax.h fpmetric.h fractal.h frame.h function.h gifdecod.h gif.h hcmplx.h hfield.h histogra.h iff.h image.h interior.h isosurf.h jpeg_pov.h lathe.h lbuffer.h lightgrp.h lighting.h matrices.h media.h mesh.h normal.h objects.h octree.h optin.h parse.h parsestr.h parstxtr.h pattern.h pgm.h photons.h pigment.h planes.h png_pov.h point.h polygon.h poly.h polysolv.h pov_err.h pov_mem.h povmscpp.h povmsend.h povmsgid.h povms.h povmsrec.h povproto.h povray.h pov_util.h ppm.h prism.h quadrics.h quatern.h radiosit.h ray.h render.h renderio.h sor.h spheres.h sphsweep.h splines.h statspov.h super.h targa.h texture.h tiff_pov.h tokenize.h torus.h triangle.h truetype.h txttest.h userdisp.h userio.h vbuffer.h vector.h vlbuffer.h warps.h conf.h
@ -8,12 +8,16 @@
+DEFS = -DPREFIX=\"$(prefix)\" -DPOV_LIB_DIR=\"@datadir@/povray-3.5\" -DCOMPILER_VER=\".FreeBSD.$(CC)\" -DSYSCONFDIR=\"$(sysconfdir)\" -DUSE_IO_RESTRICTIONS=\"$(ac_use_io_restrictions)\"
NOMULTICHAR = `if [ "X$(CC)" = "Xgcc" ]; then echo "-Wno-multichar"; fi `
LDADD = @X_LIBS@
-CXXFLAGS = $(NOMULTICHAR) -O3
+CXXFLAGS = $(NOMULTICHAR)
-CFLAGS = -O3 -mcpu=i586 -march=i586 -finline-functions -ffast-math -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double -foptimize-sibling-calls -minline-all-stringops -Wno-multichar
-CXXFLAGS = $(NOMULTICHAR) -O3 -mcpu=i586 -march=i586 -finline-functions -ffast-math -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double -foptimize-sibling-calls -minline-all-stringops -Wno-multichar
+#CFLAGS = -O3 -mcpu=i586 -march=i586 -finline-functions -ffast-math -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double -foptimize-sibling-calls -minline-all-stringops -Wno-multichar
+#CXXFLAGS = $(NOMULTICHAR) -O3 -mcpu=i586 -march=i586 -finline-functions -ffast-math -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double -foptimize-sibling-calls -minline-all-stringops -Wno-multichar
+CFLAGS = @CFLAGS@
+CXXFLAGS = @CXXFLAGS@
LDFLAGS = @X_CFLAGS@
EXTRA_DIST = xpovicon.xbm xpovmask.xbm xpovicon.xpm
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
@@ -101,7 +101,7 @@
@@ -102,7 +104,7 @@
PROGRAMS = $(bin_PROGRAMS)
CPPFLAGS = @CPPFLAGS@
@ -22,20 +26,13 @@
X_CFLAGS = @X_CFLAGS@
X_LIBS = @X_LIBS@
X_EXTRA_LIBS = @X_EXTRA_LIBS@
@@ -122,12 +122,13 @@
@@ -123,7 +125,8 @@
vlbuffer.o warps.o unix.o povxlib.o
povray_LDADD = $(LDADD)
povray_DEPENDENCIES =
-povray_LDFLAGS =
-CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+povray_LDFLAGS = -L$(libdir)
+INCLUDES = -I$(includedir)
+CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(X_CFLAGS)
+INCLUDES = -I$(includedir) $(X_CFLAGS)
CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
CXXLD = $(CXX)
CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
CFLAGS = @CFLAGS@
-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(X_CFLAGS)
CCLD = $(CC)
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
DIST_COMMON = ./stamp-h.in Makefile.am Makefile.in conf.h.in

View File

@ -9,6 +9,6 @@ process by any means, but it produces very high quality images with realistic
reflections, shading, perspective and other effects.
Legal and License information can be consulted in the following file
/usr/local/share/doc/povray-3.50b/povlegal.doc
/usr/local/share/doc/povray-3.50c/povlegal.doc
WWW: http://www.povray.org/

File diff suppressed because it is too large Load Diff