diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2011-08-11 00:42:16 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2011-08-11 00:42:16 +0800 |
commit | 7d1f12cdaf17feca19e1488dfcc82364d16945db (patch) | |
tree | a9968336e18d7b1c3ba3adb5f232aca68757a52b | |
parent | 2e3e4534e6282246e4e1f264ce5e4a41721a23a1 (diff) | |
download | freebsd-ports-gnome-7d1f12cdaf17feca19e1488dfcc82364d16945db.tar.gz freebsd-ports-gnome-7d1f12cdaf17feca19e1488dfcc82364d16945db.tar.zst freebsd-ports-gnome-7d1f12cdaf17feca19e1488dfcc82364d16945db.zip |
Update to 0.0.10
PR: 159495
Submitted by: KATO Tsuguru <tkato432@yahoo.com>
-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 |