1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/x11-fm/tdfsb/Makefile
Koop Mast 5aa7246575 Switch from libglut to freeglut and retire libglut. Libglut hasn't been
developed in years and has been dropped from the MESA 8.0 distribution.
Freeglut is a rewrite of glut and is actively developed and is used by
many linux distributions instead of libglut.

Bump all ports that directly depend on libglut because of the shlib version
change.

There are some extra items in this patch.

*) Because freeglut doesn't have the same dependancies as libglut, some ports
	need extra dependencies added to USE_XORG to make them build.
*) Mark graphics/f90gl broken, f90gl depends on a header that is only shipped
	with libglut.
*) Remove option for libglut/freeglut selection in games/cake, only freeglut
	remains now.
*) While here fix a png related build issue games/vegastrike.

Thanks to miwi for running the exp-run.

Approved by:	portmgr (miwi)

Collaboration with:	zeising@
Obtained from:	xorg-dev staging area.
2012-08-04 22:52:02 +00:00

50 lines
1.1 KiB
Makefile

# New ports collection makefile for: TDFSB
# Date created: 31 Jul 2005
# Whom: Alejandro Pulver <alejandro@varnet.biz>
#
# $FreeBSD$
#
PORTNAME= tdfsb
PORTVERSION= 0.0.10
PORTREVISION= 3
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_PKGCONFIG= yes
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
.include <bsd.port.pre.mk>
do-build:
(cd ${BUILD_WRKSRC} && ${CC} ${CPPFLAGS} ${CFLAGS} ${PORTNAME}.c \
-o ${PORTNAME} ${LDFLAGS})
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.post.mk>