pkgsrc-wip/scite/Makefile
Thomas Klausner 53cae12b32 Remove USE_DIRS from pkgsrc.
Shared directories can now be created independently by the pacakges
needing them and will be removed automatically by pkg_delete when empty.

Packages needing empty directories can use the @pkgdir command in PLIST.

Discussed and ok'd in thread starting at
http://mail-index.netbsd.org/tech-pkg/2009/06/30/msg003546.html
2009-07-22 09:53:10 +00:00

30 lines
923 B
Makefile

# $NetBSD: Makefile,v 1.23 2009/07/22 09:53:14 thomasklausner Exp $
DISTNAME= scite177
PKGNAME= scite-1.77
#PKGREVISION= 1
PKGREVISION= 1
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=scintilla/}
EXTRACT_SUFX= .tgz
MAINTAINER= loic-hoguin@users.sourceforge.net
HOMEPAGE= http://www.scintilla.org/SciTE.html
COMMENT= Editor with facilities for building and running programs
WRKSRC= ${WRKDIR}
USE_LANGUAGES= c c++
USE_TOOLS+= gmake pkg-config
BUILD_DIRS= scintilla/gtk scite/gtk
MAKE_FLAGS+= GTK2=1 CPPFLAGS=-Dunix prefix=${PREFIX}
MAKE_FILE= makefile
do-install:
cd ${WRKSRC}/scite/gtk && gmake GTK2=1 prefix=${PREFIX} install
${INSTALL_MAN} ${WRKSRC}/scite/doc/scite.1 ${PREFIX}/${PKGMANDIR}/man1
.include "../../converters/libiconv/buildlink3.mk"
# has own copy included
#.include "../../lang/lua/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"