diff --git a/x11-fm/Makefile b/x11-fm/Makefile index 54a57fa5b5d2..4f2392f7d29f 100644 --- a/x11-fm/Makefile +++ b/x11-fm/Makefile @@ -26,6 +26,7 @@ SUBDIR += rox-mime-editor SUBDIR += rox-session SUBDIR += systemg + SUBDIR += tdfsb SUBDIR += tkdesk SUBDIR += twander SUBDIR += velocity diff --git a/x11-fm/tdfsb/Makefile b/x11-fm/tdfsb/Makefile new file mode 100644 index 000000000000..bfb6bf37eff1 --- /dev/null +++ b/x11-fm/tdfsb/Makefile @@ -0,0 +1,52 @@ +# New ports collection makefile for: TDFSB +# Date created: 31 Jul 2005 +# Whom: Alejandro Pulver +# +# $FreeBSD$ +# + +PORTNAME= tdfsb +PORTVERSION= 0.0.9 +CATEGORIES= x11-fm +MASTER_SITES= http://www.determinate.net/webdata/data/ + +MAINTAINER= alejandro@varnet.biz +COMMENT= A 3D filesystem browser + +LIB_DEPENDS= smpeg.1:${PORTSDIR}/multimedia/smpeg + +USE_GL= yes +USE_REINPLACE= yes +USE_SDL= image sdl +USE_X_PREFIX= yes + +PLIST_FILES= bin/${PORTNAME} +PORTDOCS= README + +COMPILE_SCRIPT= compile.sh + +do-build: + @(cd ${BUILD_WRKSRC}; ${SH} ${COMPILE_SCRIPT}) + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} +.endif + +.include + +post-patch: +# Dirty hack below (ripping -lm) is needed in order to build the port on +# NVidia-infected system. Without it, it may complain on conflicting +# libm.so versions (x11/nvidia-driver gets one via misc/compat5x port). +# However, since libGLU.so already depends on it, we should be fine. + @${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}| ; \ + s|gcc|${CC}| ; s| -lm|| ; \ + s|/usr/local|${LOCALBASE}|g ; \ + s|/usr/X11R6|${X11BASE}|g ; \ + s|-O2|${CFLAGS}|g' \ + ${WRKSRC}/${COMPILE_SCRIPT} + +.include diff --git a/x11-fm/tdfsb/distinfo b/x11-fm/tdfsb/distinfo new file mode 100644 index 000000000000..b96682b6b0e5 --- /dev/null +++ b/x11-fm/tdfsb/distinfo @@ -0,0 +1,2 @@ +MD5 (tdfsb-0.0.9.tar.gz) = 96bf14973affe065bdb5cb7301cc7402 +SIZE (tdfsb-0.0.9.tar.gz) = 35336 diff --git a/x11-fm/tdfsb/pkg-descr b/x11-fm/tdfsb/pkg-descr new file mode 100644 index 000000000000..09bb862524b0 --- /dev/null +++ b/x11-fm/tdfsb/pkg-descr @@ -0,0 +1,9 @@ +TDFSB is a "3D - Filesystem Browser". It reads directory information and +displays them as a 3D world, so you can take a walk through your file +system. It also reads images, MPEG and MP3 files as well as some other +formats. + +It is highly recommended that you have decent (hardware-accelerated) gfx +card, otherwise it may run very slow. + +WWW: http://www.determinate.net/webdata/seg/tdfsb.html