1234567891011121314151617181920212223242526272829303132333435363738394041 |
- # $OpenBSD: Makefile,v 1.25 2017/04/10 11:45:27 sthen Exp $
- COMMENT= flexible and small GTK+ editor
- VERSION= 3.5.2
- DISTNAME= scite${VERSION:S/.//g}
- PKGNAME= scite-${VERSION}
- CATEGORIES= editors x11
- HOMEPAGE= http://www.scintilla.org/SciTE.html
- # 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 gtk-3
- WANTLIB += pango-1.0 pangocairo-1.0 pthread scintilla scintilla_lexers ${LIBCXX}
- 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 <bsd.port.mk>
|