# $OpenBSD: Makefile,v 1.23 2013/03/11 11:02:50 espie Exp $ COMMENT= flexible and small GTK+ editor VERSION= 3.0.0 DISTNAME= scite${VERSION:S/.//g} PKGNAME= scite-${VERSION} CATEGORIES= editors x11 HOMEPAGE= http://www.scintilla.org/SciTE.html MAINTAINER= Jeremy Evans # old Python license PERMIT_PACKAGE_CDROM= may not sell PERMIT_PACKAGE_FTP= Yes WANTLIB += c cairo gdk-3 gdk_pixbuf-2.0 glib-2.0 gobject-2.0 gthread-2.0 WANTLIB += gtk-3 pthread scintilla scintilla_lexers stdc++ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=scintilla/} EXTRACT_SUFX= .tgz LIB_DEPENDS= x11/gtk+3 \ editors/scintilla USE_GMAKE= Yes NO_TEST= Yes WRKDIST= ${WRKDIR}/scite WRKSRC= ${WRKDIST}/gtk MAKE_FILE= makefile MAKE_ENV= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \ CC="${CC}" CFLAGS="${CFLAGS}" GTK3=1 post-extract: perl -pi -e 's|\x0d||' ${WRKSRC}/*.cxx ${WRKDIST}/src/*.cxx pre-build: perl -pi -e 's|__DOCDIR__|${LOCALBASE}/share/doc/scite|' \ ${WRKDIST}/src/*.properties .include