aboutsummaryrefslogtreecommitdiffstats
path: root/x11/fireflies/Makefile
blob: 4155efabc742189503ccf52d5784f41fb2384f04 (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
# Created by: UMENO Takashi <umeno@rr.iij4u.or.jp>
# $FreeBSD$

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

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

LIB_DEPENDS=    gfx:${PORTSDIR}/graphics/libgfx

GNU_CONFIGURE=  yes
USE_GL=     yes
EXTRACT_AFTER_ARGS=--exclude '${DISTNAME}/libgfx*'
MAKE_JOBS_SAFE= 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}

.include <bsd.port.mk>