openbsd-ports/editors/scite/Makefile
2004-11-24 11:08:02 +00:00

39 lines
919 B
Makefile

# $OpenBSD: Makefile,v 1.3 2004/11/24 11:08:03 espie Exp $
COMMENT= "flexible and small GTK+ editor"
VERSION= 1.54
DISTNAME= scite${VERSION:S/.//}
PKGNAME= scite-${VERSION}
CATEGORIES= editors x11
HOMEPAGE= http://www.scintilla.org/SciTE.html
MAINTAINER= Joerg Sonnenberger <joerg@bec.de>
# old Python license
PERMIT_PACKAGE_CDROM= "may not sell"
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= "may not sell"
PERMIT_DISTFILES_FTP= Yes
WANTLIB= X11 Xext Xi c gdk glib gmodule gtk iconv intl m\
pthread stdc++
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=scintilla/}
EXTRACT_SUFX= .tgz
LIB_DEPENDS= gthread.1.2::devel/glib \
scintilla.1,scintilla_lexers.1::editors/scintilla
USE_GMAKE= Yes
USE_X11= Yes
NO_REGRESS= Yes
WRKDIST= ${WRKDIR}/scite
WRKSRC= ${WRKDIST}/gtk
MAKE_FILE= makefile
post-extract:
perl -pi -e 's|\x0d||' ${WRKDIST}/gtk/*.cxx ${WRKDIST}/src/*.cxx
.include <bsd.port.mk>