aboutsummaryrefslogtreecommitdiffstats
path: root/x11/fireflies/Makefile
blob: fbe65c947d6d489af4d2adce8a228cb3e16a2874 (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
# Created by: 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

CONFLICTS=  png-[0-9]*

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>