aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/kudu/Makefile
blob: 8e21a33a919e4b05d38fa97362b014ac82306275 (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
# ports collection makefile for:    kudu
# Date created:     28 Mar 2006
# Whom:         Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# $FreeBSD$
#

PORTNAME=   kudu
PORTVERSION=    0.1.2
PORTREVISION=   1
CATEGORIES= graphics
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= amdmi3@amdmi3.ru
COMMENT=    A 3D skeletal animation tool, powered by GTK+ and OpenGL

LIB_DEPENDS=    gtkglext-x11-1.0.0:${PORTSDIR}/x11-toolkits/gtkglext

USE_GL=     yes
USE_X_PREFIX=   yes
USE_PYTHON= yes
USE_BZIP2=  yes
GNU_CONFIGURE=  yes
USE_GCC=    3.4+

USE_GETOPT_LONG=    yes

CPPFLAGS+=  -I${X11BASE}/include
LDFLAGS+=   -L${X11BASE}/lib
CFLAGS+=    ${PTHREAD_CFLAGS}
CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS}" \
        LDFLAGS="${LDFLAGS}" \
        LIBS="${PTHREAD_LIBS} -lcompat"

DESKTOP_ENTRIES="Kudu" \
        "Edit 3D models" \
        "${DATADIR}/images/logo.png" \
        "kudu" \
        "Application;Graphics;" \
        true

post-patch:
    @${REINPLACE_CMD} -e 's|COPYING||' ${WRKSRC}/Makefile.in

.include <bsd.port.mk>