mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Update to 0.0.10
PR: 159495 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
This commit is contained in:
parent
a89b470bae
commit
eb31b1ddf4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=279439
@ -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}
|
||||
|
||||
COMPILE_SCRIPT= compile.sh
|
||||
CPPFLAGS= `${pkgconfig_DETECT} --cflags SDL_image glut` \
|
||||
`${LOCALBASE}/bin/smpeg-config --cflags`
|
||||
LDFLAGS= `${pkgconfig_DETECT} --libs SDL_image glut` \
|
||||
`${LOCALBASE}/bin/smpeg-config --libs`
|
||||
|
||||
.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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user