2004-05-06 12:21:47 +02:00
|
|
|
# $NetBSD: Makefile,v 1.32 2004/05/06 10:21:47 drochner Exp $
|
2000-10-17 04:09:55 +02:00
|
|
|
|
2004-05-06 12:21:47 +02:00
|
|
|
DISTNAME= dia-0.93
|
2003-05-09 17:21:29 +02:00
|
|
|
CATEGORIES= graphics
|
2004-05-06 12:21:47 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/dia/0.93/}
|
2000-10-17 04:09:55 +02:00
|
|
|
|
2003-05-09 17:21:29 +02:00
|
|
|
MAINTAINER= jmcneill@invisible.yi.org
|
|
|
|
HOMEPAGE= http://www.lysator.liu.se/~alla/dia/
|
2003-07-21 18:45:54 +02:00
|
|
|
COMMENT= Program for creating diagrams of all kinds
|
2000-10-17 04:09:55 +02:00
|
|
|
|
2004-02-20 18:02:06 +01:00
|
|
|
USE_BUILDLINK3= YES
|
2004-04-14 18:15:20 +02:00
|
|
|
USE_DIRS+= gnome2-1.5
|
2003-05-09 17:21:29 +02:00
|
|
|
USE_PKGLOCALEDIR= YES
|
2002-12-01 14:49:38 +01:00
|
|
|
USE_X11= YES
|
2004-01-24 16:46:42 +01:00
|
|
|
USE_GNU_TOOLS+= make
|
2002-12-01 14:49:38 +01:00
|
|
|
USE_LIBTOOL= YES
|
2000-11-27 20:33:09 +01:00
|
|
|
|
2002-12-01 14:49:38 +01:00
|
|
|
GNU_CONFIGURE= YES
|
2003-05-09 17:21:29 +02:00
|
|
|
CONFIGURE_ENV+= PYTHON=${PYTHONBIN}
|
2002-09-01 02:38:08 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-gnome
|
2003-12-02 23:32:48 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-bonobo
|
2003-05-09 17:21:29 +02:00
|
|
|
CONFIGURE_ARGS+= --with-python
|
|
|
|
|
2003-12-02 23:32:48 +01:00
|
|
|
PYTHON_PATCH_SCRIPTS= po-checktrans.py
|
|
|
|
PYTHON_PATCH_SCRIPTS+= plug-ins/python/gtkcons.py
|
|
|
|
PYTHON_PATCH_SCRIPTS+= sheets/checktrans.py
|
2002-09-01 02:38:08 +02:00
|
|
|
|
2003-12-02 23:32:48 +01:00
|
|
|
INTL_FILE= ${WRKSRC}/lib/intl.c
|
2003-05-09 17:21:29 +02:00
|
|
|
post-patch:
|
2003-12-02 23:32:48 +01:00
|
|
|
${MV} ${INTL_FILE} ${INTL_FILE}.pre
|
|
|
|
${SED} -e "s,%%PREFIX%%,${PREFIX},g" ${INTL_FILE}.pre > ${INTL_FILE}
|
2000-10-17 04:09:55 +02:00
|
|
|
|
2004-02-20 18:02:06 +01:00
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
|
|
.include "../../devel/libgnome/buildlink3.mk"
|
|
|
|
.include "../../devel/libgnomeui/buildlink3.mk"
|
|
|
|
.include "../../devel/pango/buildlink3.mk"
|
|
|
|
.include "../../devel/pkgconfig/buildlink3.mk"
|
|
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
|
|
.include "../../graphics/libart2/buildlink3.mk"
|
2003-05-09 17:21:29 +02:00
|
|
|
.include "../../lang/python/application.mk"
|
2004-02-20 18:02:06 +01:00
|
|
|
.include "../../textproc/intltool/buildlink3.mk"
|
|
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
|
|
|
.include "../../textproc/libxslt/buildlink3.mk"
|
2004-05-06 12:21:47 +02:00
|
|
|
.include "../../textproc/scrollkeeper/omf.mk"
|
2004-02-20 18:02:06 +01:00
|
|
|
.include "../../x11/py-gtk2/buildlink3.mk"
|
|
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
2000-10-17 04:09:55 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|