2006-11-13 12:51:14 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2006/11/13 12:53:08 steven Exp $
|
2005-10-22 12:37:32 +00:00
|
|
|
|
|
|
|
COMMENT= "CSS editor"
|
|
|
|
|
2005-11-26 17:05:55 +00:00
|
|
|
DISTNAME= cssed-0.4.0
|
2006-10-27 12:53:01 +00:00
|
|
|
PKGNAME= ${DISTNAME}p2
|
2005-11-26 17:05:55 +00:00
|
|
|
CATEGORIES= www editors
|
2005-10-22 12:37:32 +00:00
|
|
|
|
|
|
|
HOMEPAGE= http://cssed.sourceforge.net/
|
|
|
|
|
2006-10-27 12:53:01 +00:00
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
2005-10-22 12:37:32 +00:00
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= yes
|
|
|
|
PERMIT_PACKAGE_FTP= yes
|
|
|
|
PERMIT_DISTFILES_CDROM= yes
|
|
|
|
PERMIT_DISTFILES_FTP= yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cssed/}
|
|
|
|
|
2006-06-13 13:19:08 +00:00
|
|
|
WANTLIB= c freetype pthread stdc++ m X11 fontconfig \
|
2006-09-18 11:59:59 +00:00
|
|
|
z gthread-2.0 glib-2.0 gmodule-2.0 \
|
|
|
|
gobject-2.0 pangoft2-1.0 pango-1.0 atk-1.0 \
|
|
|
|
pangocairo-1.0 cairo
|
2005-10-22 12:37:32 +00:00
|
|
|
|
|
|
|
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
|
2006-08-04 00:10:42 +00:00
|
|
|
LIB_DEPENDS= gtk-x11-2.0.>=600.10,gdk_pixbuf-2.0.>=600.0,gdk-x11-2.0.>=600.0::x11/gtk+2 \
|
2006-09-18 09:04:03 +00:00
|
|
|
xml2.>=8::textproc/libxml
|
2005-10-22 12:37:32 +00:00
|
|
|
|
|
|
|
MODULES= devel/gettext
|
|
|
|
|
2006-11-13 12:51:14 +00:00
|
|
|
USE_X11= Yes
|
2005-10-22 12:37:32 +00:00
|
|
|
CONFIGURE_STYLE=gnu
|
2005-11-26 17:05:55 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2005-10-22 12:37:32 +00:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2005-11-26 17:05:55 +00:00
|
|
|
CONFIGURE_ARGS= --with-help-menus \
|
|
|
|
--with-plugin-headers \
|
|
|
|
--without-terminal \
|
|
|
|
--without-ipc-queue
|
2005-10-22 12:37:32 +00:00
|
|
|
|
2006-02-07 01:11:57 +00:00
|
|
|
# trailing ^M after a \ for line continuation confuses gcc2
|
|
|
|
pre-patch:
|
|
|
|
@perl -i -pe 's/\r$$//' ${WRKSRC}/scintilla/gtk/ScintillaGTK.cxx
|
|
|
|
|
2005-10-22 12:37:32 +00:00
|
|
|
.include <bsd.port.mk>
|