aboutsummaryrefslogblamecommitdiff
path: root/x11/fireflies/Makefile
blob: f7288528fa92a9094f4729d7e96e572af4d23e53 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                            
                 
                   
                                                                 

                                    
                                         
 



                   

                                                                

                                                                     

                                      



                                                        
             



                                                                           
 
                      
# 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

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>