2008-06-14 20:04:49 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2008/06/15 00:06:52 sthen Exp $
|
2003-08-14 14:27:25 -04:00
|
|
|
|
2007-09-15 20:44:00 -04:00
|
|
|
COMMENT= flexible and small GTK+ editor
|
2003-08-14 14:27:25 -04:00
|
|
|
|
2008-03-22 07:44:42 -04:00
|
|
|
VERSION= 1.76
|
2003-08-14 14:27:25 -04:00
|
|
|
DISTNAME= scite${VERSION:S/.//}
|
2008-06-14 20:04:49 -04:00
|
|
|
PKGNAME= scite-${VERSION}p0
|
2003-08-14 14:27:25 -04:00
|
|
|
CATEGORIES= editors x11
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.scintilla.org/SciTE.html
|
|
|
|
|
2007-08-01 05:21:06 -04:00
|
|
|
MAINTAINER= Jeremy Evans <openbsd@jeremyevans.net>
|
2007-01-18 05:56:27 -05:00
|
|
|
|
2003-08-14 14:27:25 -04:00
|
|
|
# old Python license
|
2007-09-15 20:44:00 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= may not sell
|
2003-08-14 14:27:25 -04:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
2007-09-15 20:44:00 -04:00
|
|
|
PERMIT_DISTFILES_CDROM= may not sell
|
2003-08-14 14:27:25 -04:00
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2007-01-18 05:56:27 -05:00
|
|
|
|
2007-08-01 05:21:06 -04:00
|
|
|
WANTLIB= X11 Xrender c m z pthread stdc++ fontconfig \
|
|
|
|
freetype Xau Xdmcp expat Xcursor Xext Xfixes \
|
2007-11-13 09:06:21 -05:00
|
|
|
Xi Xinerama Xrandr Xcomposite Xdamage \
|
2007-01-18 05:56:27 -05:00
|
|
|
glib-2.0 gobject-2.0 gthread-2.0 gmodule-2.0 \
|
|
|
|
pango-1.0 pangocairo-1.0 pangoft2-1.0 \
|
2008-06-14 20:04:49 -04:00
|
|
|
cairo atk-1.0 glitz pixman-1 png
|
2003-08-14 14:27:25 -04:00
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=scintilla/}
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2007-01-18 05:56:27 -05:00
|
|
|
MODULES= devel/gettext
|
|
|
|
|
|
|
|
LIB_DEPENDS= gtk-x11-2.0,gdk-x11-2.0,gdk_pixbuf-2.0::x11/gtk+2 \
|
2008-03-22 07:44:42 -04:00
|
|
|
scintilla.>=6,scintilla_lexers.>=6::editors/scintilla
|
2003-08-14 14:27:25 -04:00
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
USE_X11= Yes
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
WRKDIST= ${WRKDIR}/scite
|
|
|
|
WRKSRC= ${WRKDIST}/gtk
|
|
|
|
MAKE_FILE= makefile
|
2007-01-18 05:56:27 -05:00
|
|
|
MAKE_ENV= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
|
2003-08-14 14:27:25 -04:00
|
|
|
|
|
|
|
post-extract:
|
2007-01-18 05:56:27 -05:00
|
|
|
perl -pi -e 's|\x0d||' ${WRKSRC}/*.cxx ${WRKDIST}/src/*.cxx
|
|
|
|
|
|
|
|
pre-build:
|
|
|
|
perl -pi -e 's|__DOCDIR__|${LOCALBASE}/share/doc/scite|' \
|
|
|
|
${WRKDIST}/src/*.properties
|
2003-08-14 14:27:25 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|