2011-11-15 14:17:09 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.22 2011/11/15 19:17:09 jeremy 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
|
|
|
|
2011-11-15 14:17:09 -05:00
|
|
|
VERSION= 3.0.0
|
|
|
|
DISTNAME= scite${VERSION:S/.//g}
|
2010-09-30 03:21:18 -04:00
|
|
|
PKGNAME= scite-${VERSION}
|
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
|
|
|
|
2011-11-15 14:17:09 -05:00
|
|
|
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++
|
2003-08-14 14:27:25 -04:00
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=scintilla/}
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2011-11-15 14:17:09 -05:00
|
|
|
LIB_DEPENDS= x11/gtk+3 \
|
2010-11-15 18:22:07 -05:00
|
|
|
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
|
2011-11-15 14:17:09 -05:00
|
|
|
MAKE_ENV= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \
|
|
|
|
CC="${CC}" CFLAGS="${CFLAGS}" GTK3=1
|
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>
|