aboutsummaryrefslogtreecommitdiffstats
path: root/x11/fireflies/Makefile
blob: 5157d0fa87bbf40a58e553f3c876548a37ec8b5c (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
# New ports collection makefile for:    fireflies
# Date created:             11 Feb 2006
# Whom:                 UMENO Takashi <umeno@rr.iij4u.or.jp>
#
# $FreeBSD$
#

PORTNAME=   fireflies
PORTVERSION=    2.07
PORTREVISION=   4
CATEGORIES= x11
MASTER_SITES=   http://somewhere.fscked.org/proj/fireflies/files/

MAINTAINER= umeno@rr.iij4u.or.jp
COMMENT=    Extension of xscreensaver

BROKEN=     does not compile when graphics/png is installed (see ports/176666)

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_GL=     yes

CPPFLAGS+=  -I${LOCALBASE}/include -I${LOCALBASE}/include/GL
LDFLAGS+=   -L${LOCALBASE}/lib
CONFIGURE_ARGS= --with-bindir=${LOCALBASE}/bin/xscreensaver-hacks \
        --with-confdir=${LOCALBASE}/share/xscreensaver/config
PLIST_SUB=  VERSION=${PORTVERSION}

MAKE_ARGS=  CONFIGURE_ENV=${CONFIGURE_ENV:Q} \
        CONFIGURE_SCRIPT=${CONFIGURE_SCRIPT:Q} \
        CONFIGURE_ARGS=${CONFIGURE_ARGS:Q}

post-extract:
    @(cd ${WRKSRC};  ${TAR} zxpf libgfx-1.0.1.tar.gz)

post-patch:
    @${REINPLACE_CMD} -e 's|fltk|ignored-&|' ${WRKSRC}/libgfx/configure

.include <bsd.port.mk>