diff --git a/graphics/Makefile b/graphics/Makefile index 1f82e930240e..a86614bcabd0 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -206,6 +206,7 @@ SUBDIR += vcdgear SUBDIR += vcg SUBDIR += vid + SUBDIR += view3ds SUBDIR += whirlgif SUBDIR += wmgrabimage SUBDIR += wmicons diff --git a/graphics/view3ds/Makefile b/graphics/view3ds/Makefile new file mode 100644 index 000000000000..1080bbd945d4 --- /dev/null +++ b/graphics/view3ds/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: view3ds +# Date created: 18 January 2001 +# Whom: Maxim Sobolev +# +# $FreeBSD$ +# + +PORTNAME= view3ds +PORTVERSION= 1.0.0 +CATEGORIES= graphics +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= lib3ds + +MAINTAINER= sobomax@FreeBSD.org + +USE_X_PREFIX= yes +USE_QT2= yes +USE_MESA= yes +USE_GMAKE= yes +USE_LIBTOOL= yes +CONFIGURE_ENV= LDFLAGS="-lm" \ + QTDIR=${X11BASE} + +.include diff --git a/graphics/view3ds/distinfo b/graphics/view3ds/distinfo new file mode 100644 index 000000000000..7061cc894605 --- /dev/null +++ b/graphics/view3ds/distinfo @@ -0,0 +1 @@ +MD5 (view3ds-1.0.0.tar.gz) = d2b297379865111654537dd141e0e79a diff --git a/graphics/view3ds/files/patch-configure b/graphics/view3ds/files/patch-configure new file mode 100644 index 000000000000..edf6efdf325a --- /dev/null +++ b/graphics/view3ds/files/patch-configure @@ -0,0 +1,42 @@ + +$FreeBSD$ + +--- configure 2001/01/18 18:11:47 1.1 ++++ configure 2001/01/18 18:15:35 +@@ -2939,10 +2939,10 @@ + echo "$ac_t""no" 1>&6 + else + echo "$ac_t""yes" 1>&6 +- qt_includes="$QTDIR/include" ++ qt_includes="$QTDIR/include/qt2" + qt_libraries="$QTDIR/lib" + qt_binaries="$QTDIR/bin" +- MOC="$qt_binaries/moc"; ++ MOC="$qt_binaries/moc2"; + UIC="$qt_binaries/uic"; + fi + fi +@@ -3012,9 +3012,9 @@ + saved_LIBS="$LIBS" + CPPFLAGS="$saved_CPPFLAGS -I$qt_includes" + if test -n "$qt_libraries"; then +- LIBS="$saved_LIBS -L$qt_libraries -lqt" ++ LIBS="$saved_LIBS -L$qt_libraries -lqt2" + else +- LIBS="$saved_LIBS -lqt -lm $X11_LIBS" ++ LIBS="$saved_LIBS -lqt2 -lm $X11_LIBS" + fi + echo $ac_n "checking for QT includes ($qt_includes)""... $ac_c" 1>&6 + echo "configure:3021: checking for QT includes ($qt_includes)" >&5 +@@ -3086,9 +3086,9 @@ + rm -f conftest* + if test "$qt_libraries_found" = "yes"; then + if test -n "$qt_libraries"; then +- QT_LIBS="-L$qt_libraries -lqt -lm $X11_LIBS"; ++ QT_LIBS="-L$qt_libraries -lqt2 -lm $X11_LIBS"; + else +- QT_LIBS="-lqt -lm $X11_LIBS"; ++ QT_LIBS="-lqt2 -lm $X11_LIBS"; + fi + echo "$ac_t""yes" 1>&6 + else diff --git a/graphics/view3ds/pkg-comment b/graphics/view3ds/pkg-comment new file mode 100644 index 000000000000..d7ffd967e2ee --- /dev/null +++ b/graphics/view3ds/pkg-comment @@ -0,0 +1 @@ +A simple realtime 3DS file previewer based on the Lib3ds Library diff --git a/graphics/view3ds/pkg-descr b/graphics/view3ds/pkg-descr new file mode 100644 index 000000000000..8d09e2899691 --- /dev/null +++ b/graphics/view3ds/pkg-descr @@ -0,0 +1,3 @@ +A simple realtime 3DS file previewer based on the Lib3ds Library. + +WWW: http://lib3ds.sourceforge.net/ diff --git a/graphics/view3ds/pkg-plist b/graphics/view3ds/pkg-plist new file mode 100644 index 000000000000..7ebe4d0cf812 --- /dev/null +++ b/graphics/view3ds/pkg-plist @@ -0,0 +1 @@ +bin/view3ds