1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/x11-fm/tdfsb/Makefile
Kevin Bowling da3162c7c9 graphics/mesa-libs: Bump reverse deps for libglvnd
Per discussion with bapt on helping pkg handle the changing of these
deps and avoiding impossible upgrade senarios.

PR:		246767
Reviewed by:	manu, bapt
Approved by:	x11
Differential Revision:	https://reviews.freebsd.org/D30824
2021-06-22 11:53:08 -07:00

45 lines
1.0 KiB
Makefile

# Created by: Alejandro Pulver <alejandro@varnet.biz>
PORTNAME= tdfsb
PORTVERSION= 0.0.10
PORTREVISION= 9
CATEGORIES= x11-fm
MASTER_SITES= http://www.determinate.net/webdata/data/
MAINTAINER= ports@FreeBSD.org
COMMENT= 3D filesystem browser
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libsmpeg.so:multimedia/smpeg
USES= gl pkgconfig sdl
USE_GL= glut
USE_SDL= image sdl
PORTDOCS= README
PLIST_FILES= bin/${PORTNAME}
CPPFLAGS+= `${LOCALBASE}/bin/pkgconf --cflags SDL_image gl` \
`${LOCALBASE}/bin/smpeg-config --cflags` \
-I ${LOCALBASE}/include
LDFLAGS+= `${LOCALBASE}/bin/pkgconf --libs SDL_image gl` \
`${LOCALBASE}/bin/smpeg-config --libs` \
-L ${LOCALBASE}/lib -lGLU -lglut -lm
OPTIONS_DEFINE= DOCS
do-build:
(cd ${BUILD_WRKSRC} && ${CC} ${CPPFLAGS} ${CFLAGS} ${PORTNAME}.c \
-o ${PORTNAME} ${LDFLAGS})
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>