aboutsummaryrefslogtreecommitdiffstats
path: root/x11/fireflies/Makefile
blob: 0245b8b79acebe8ad69786e8ff4fdd5f0f0e0ec4 (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
# 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/fireflies/

MAINTAINER= umeno@rr.iij4u.or.jp
COMMENT=    Fireflies is a extention of xscreensaver

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_GL=     yes

CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include/GL" \
        LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/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} zxvpf libgfx-1.0.1.tar.gz)

.include <bsd.port.mk>