diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2011-08-10 16:42:16 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2011-08-10 16:42:16 +0000 |
commit | eb31b1ddf4c9b8c3133422e37e8f35cb96862bf9 (patch) | |
tree | d854359c5e6a4c9dba5d95bf7d6413f880345120 /x11-fm/tdfsb | |
parent | a89b470bae107725506484cdf04e8ae88b97e893 (diff) | |
download | ports-eb31b1ddf4c9b8c3133422e37e8f35cb96862bf9.tar.gz ports-eb31b1ddf4c9b8c3133422e37e8f35cb96862bf9.zip |
Notes
Diffstat (limited to 'x11-fm/tdfsb')
-rw-r--r-- | x11-fm/tdfsb/Makefile | 33 | ||||
-rw-r--r-- | x11-fm/tdfsb/distinfo | 4 |
2 files changed, 16 insertions, 21 deletions
diff --git a/x11-fm/tdfsb/Makefile b/x11-fm/tdfsb/Makefile index d44c6d643881..12a9b29934d3 100644 --- a/x11-fm/tdfsb/Makefile +++ b/x11-fm/tdfsb/Makefile @@ -6,26 +6,35 @@ # PORTNAME= tdfsb -PORTVERSION= 0.0.9 -PORTREVISION= 10 +PORTVERSION= 0.0.10 CATEGORIES= x11-fm MASTER_SITES= http://www.determinate.net/webdata/data/ MAINTAINER= ports@FreeBSD.org COMMENT= A 3D filesystem browser +LICENSE= GPLv2 GPLv3 +LICENSE_COMB= dual + LIB_DEPENDS= smpeg.1:${PORTSDIR}/multimedia/smpeg USE_GL= glut USE_SDL= image sdl +USE_GNOME= pkgconfig -PLIST_FILES= bin/${PORTNAME} PORTDOCS= README +PLIST_FILES= bin/${PORTNAME} + +CPPFLAGS= `${pkgconfig_DETECT} --cflags SDL_image glut` \ + `${LOCALBASE}/bin/smpeg-config --cflags` +LDFLAGS= `${pkgconfig_DETECT} --libs SDL_image glut` \ + `${LOCALBASE}/bin/smpeg-config --libs` -COMPILE_SCRIPT= compile.sh +.include <bsd.port.pre.mk> do-build: - @(cd ${BUILD_WRKSRC}; ${SH} ${COMPILE_SCRIPT}) + (cd ${BUILD_WRKSRC} && ${CC} ${CPPFLAGS} ${CFLAGS} ${PORTNAME}.c \ + -o ${PORTNAME} ${LDFLAGS}) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin @@ -34,18 +43,4 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif -.include <bsd.port.pre.mk> - -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|${LOCALBASE}|g ; \ - s|-O2|${CFLAGS}|g' \ - ${WRKSRC}/${COMPILE_SCRIPT} - .include <bsd.port.post.mk> diff --git a/x11-fm/tdfsb/distinfo b/x11-fm/tdfsb/distinfo index 51071d6ad8bb..4da542ebf7ec 100644 --- a/x11-fm/tdfsb/distinfo +++ b/x11-fm/tdfsb/distinfo @@ -1,2 +1,2 @@ -SHA256 (tdfsb-0.0.9.tar.gz) = 85daa2d64b0829ee94f61ba7db4a06368317af3ff68dd67ca4601821944f66a1 -SIZE (tdfsb-0.0.9.tar.gz) = 35336 +SHA256 (tdfsb-0.0.10.tar.gz) = 91283a0863f7c38028346ab4edfd180d0ce6cee3f1a7c44bf3c181a74063f4c3 +SIZE (tdfsb-0.0.10.tar.gz) = 35630 |