aboutsummaryrefslogblamecommitdiff
path: root/math/ggobi/Makefile
blob: d56a47ccb6ebac25c7a8a65091e4f3491a4948fb (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
                                              
           

                     
                      
                 





                                               

                   







                                                                            
                   
 
                   

                                          

                           
                           
                             
 

                    

                                                                        
 
             

                                                                                           

                      
# Created by: Rainer Hurling <rhurlin@gwdg.de>
# $FreeBSD$

PORTNAME=	ggobi
PORTVERSION=	2.1.11
PORTREVISION=	1
CATEGORIES=	math graphics
MASTER_SITES=	http://www.ggobi.org/downloads/

MAINTAINER=	rhurlin@gwdg.de
COMMENT=	Data visualization system

LICENSE=	EPL

LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
		libfreetype.so:print/freetype2 \
		libcgraph.so:graphics/graphviz \
		libltdl.so:devel/libltdl

USES=		desktop-file-utils gnome libtool pathfix pkgconfig tar:bzip2
USE_GNOME=	cairo gdkpixbuf2 glib20 gtk20 libxml2
USE_GCC=	yes
USE_LDCONFIG=	yes

GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=	--with-all-plugins

SUB_FILES=	pkg-message

ALL_TARGET=	all ggobirc
INSTALL_TARGET=	install-strip

OPTIONS_DEFINE=	DOCS

post-build:
	@${REINPLACE_CMD} -e 's|plugin.la|plugin.so|g' ${WRKSRC}/ggobirc

post-install:
	${MKDIR} ${STAGEDIR}${PREFIX}/etc/xdg/ggobi
	${INSTALL_DATA} ${WRKSRC}/ggobirc ${STAGEDIR}${PREFIX}/etc/xdg/ggobi/ggobirc.sample

.include <bsd.port.mk>