aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm/tdfsb/Makefile
blob: 57cb7fd96cc3940be7718d17dd3aef592f150b64 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# 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=   2
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

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`

.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>