1999-11-25 15:52:51 +01:00
|
|
|
# New ports collection makefile for: dia
|
1999-12-23 02:53:23 +01:00
|
|
|
# Date created: 21 December 1999
|
1999-11-25 15:52:51 +01:00
|
|
|
# Whom: saper@system.pl
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-13 08:28:28 +02:00
|
|
|
PORTNAME= dia
|
2003-04-04 09:21:03 +02:00
|
|
|
PORTVERSION= 0.91
|
|
|
|
CATEGORIES= graphics gnome
|
1999-12-23 02:53:23 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
2003-04-04 09:21:03 +02:00
|
|
|
MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.91
|
|
|
|
DIST_SUBDIR= gnome2
|
1999-11-25 15:52:51 +01:00
|
|
|
|
2001-08-20 13:24:05 +02:00
|
|
|
MAINTAINER?= gnome@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Diagram creation program, similar to Visio
|
1999-11-25 15:52:51 +01:00
|
|
|
|
2001-08-28 14:04:42 +02:00
|
|
|
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt \
|
2003-04-04 09:21:03 +02:00
|
|
|
gnomeui-2.200:${PORTSDIR}/x11-toolkits/libgnomeui
|
2001-05-21 04:35:30 +02:00
|
|
|
|
2003-04-04 09:21:03 +02:00
|
|
|
USE_BZIP2= yes
|
2000-10-05 09:22:56 +02:00
|
|
|
USE_X_PREFIX= yes
|
2000-08-07 13:31:22 +02:00
|
|
|
USE_GMAKE= yes
|
2002-07-12 14:05:25 +02:00
|
|
|
USE_GNOMENG= yes
|
2003-04-04 09:21:03 +02:00
|
|
|
USE_GNOME= gnomeprefix gnomehack
|
2000-10-05 09:22:56 +02:00
|
|
|
USE_LIBTOOL= yes
|
2003-04-04 09:21:03 +02:00
|
|
|
CONFIGURE_ARGS= --enable-gnome --enable-bonobo
|
2000-10-05 09:22:56 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2001-05-17 23:48:25 +02:00
|
|
|
LIBS="-L${LOCALBASE}/lib -lintl"
|
1999-11-25 15:52:51 +01:00
|
|
|
|
|
|
|
MAN1= dia.1
|
|
|
|
|
2003-04-04 09:21:03 +02:00
|
|
|
.if !defined(WITHOUT_PYTHON)
|
|
|
|
USE_PYTHON= yes
|
|
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pygtk.py:${PORTSDIR}/x11-toolkits/py-gtk2
|
|
|
|
CONFIGURE_ARGS+= --with-python
|
|
|
|
PLIST_SUB= PYTHON:=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB= PYTHON:="@comment "
|
|
|
|
.endif
|
|
|
|
|
2002-07-12 14:05:25 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
2000-08-07 13:31:22 +02:00
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
|
|
|
|
2002-07-12 14:05:25 +02:00
|
|
|
.include <bsd.port.mk>
|