2011-03-14 05:15:33 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.20 2011/03/14 09:17:27 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
|
|
|
|
2010-12-02 16:24:39 -05:00
|
|
|
VERSION= 2.22
|
2003-08-14 14:27:25 -04:00
|
|
|
DISTNAME= scite${VERSION:S/.//}
|
2010-09-30 03:21:18 -04:00
|
|
|
PKGNAME= scite-${VERSION}
|
2011-03-14 05:15:33 -04:00
|
|
|
REVISION= 0
|
2003-08-14 14:27:25 -04:00
|
|
|
CATEGORIES= editors x11
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.scintilla.org/SciTE.html
|
|
|
|
|
2010-10-03 14:09:01 -04:00
|
|
|
MAINTAINER= Jeremy Evans <jeremy@openbsd.org>
|
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
|
|
|
|
2009-06-16 21:53:32 -04:00
|
|
|
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
|
|
|
|
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig
|
2010-10-11 04:11:24 -04:00
|
|
|
WANTLIB += freetype gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
|
2009-06-16 21:53:32 -04:00
|
|
|
WANTLIB += gthread-2.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0
|
2010-10-03 14:09:01 -04:00
|
|
|
WANTLIB += pixman-1 png pthread pthread-stubs stdc++ xcb z
|
|
|
|
WANTLIB += gtk-x11-2.0 gdk-x11-2.0 gdk_pixbuf-2.0
|
2010-11-15 18:22:07 -05:00
|
|
|
WANTLIB += scintilla>=7 scintilla_lexers>=7
|
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
|
|
|
|
|
2010-11-15 18:22:07 -05:00
|
|
|
LIB_DEPENDS= x11/gtk+2 \
|
|
|
|
editors/scintilla
|
2003-08-14 14:27:25 -04:00
|
|
|
|
|
|
|
USE_GMAKE= 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>
|