diff options
author | Koop Mast <kwm@FreeBSD.org> | 2005-02-03 20:07:07 +0000 |
---|---|---|
committer | Koop Mast <kwm@FreeBSD.org> | 2005-02-03 20:07:07 +0000 |
commit | 77dec805c2b7787dce41b748327d20c18756abd5 (patch) | |
tree | fb03d82d327d723aa97c5a03f4df5ec8379851be /editors/scite/Makefile | |
parent | 577c2cd5db0a36ec7c3378dc8e449e4eeb9dc711 (diff) |
Notes
Diffstat (limited to 'editors/scite/Makefile')
-rw-r--r-- | editors/scite/Makefile | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/editors/scite/Makefile b/editors/scite/Makefile index 07163eba470b..ba71bfbf5fbf 100644 --- a/editors/scite/Makefile +++ b/editors/scite/Makefile @@ -6,7 +6,7 @@ # PORTNAME= scite -PORTVERSION= 1.59 +PORTVERSION= 1.62 CATEGORIES= editors gnome MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ http://www.scintilla.org/ @@ -26,6 +26,27 @@ USE_GMAKE= yes USE_GNOME= gnomehier MAKEFILE= makefile MAKE_ENV= CC="${CXX}" +EXTRA_PATCH_FILES= lua/include/lauxlib.h \ + lua/include/lua.h \ + lua/src/lobject.h \ + lua/src/lzio.h \ + lua/src/ltm.h \ + lua/src/lopcodes.c \ + lua/src/lopcodes.h \ + lua/src/lstate.c \ + lua/src/lstate.h \ + lua/src/ldo.h \ + lua/src/lmem.h \ + lua/src/lgc.h \ + lua/src/lgc.c \ + lua/src/lvm.h \ + lua/src/lstring.h \ + lua/src/ldo.c \ + lua/src/lfunc.c \ + lua/src/llex.h \ + lua/src/llex.c \ + lua/src/lparser.c \ + lua/src/lib/lauxlib.c OPTIONS= GTK2 "Turns on GTK-2.x support (Default is GTK-1)" off @@ -45,6 +66,13 @@ post-patch: @cd ${WRKSRC} && ${MV} SciTE.desktop SciTE.desktop.pre_tr \ && ${TR} -d "\r" < SciTE.desktop.pre_tr > SciTE.desktop @${ECHO_CMD} 'Categories=Application;Development;' >> ${WRKSRC}/SciTE.desktop +# deal with dos end-of-line symbols break build with gcc 2.95. +.for file in ${EXTRA_PATCH_FILES} + @${CP} ${WRKSRC}/../${file} \ + ${WRKSRC}/../${file}.orig + @/usr/bin/col < ${WRKSRC}/../${file}.orig \ + > ${WRKSRC}/../${file} +.endfor do-install: ${INSTALL_PROGRAM} ${WRKSRC}/../bin/SciTE ${PREFIX}/bin |