aboutsummaryrefslogtreecommitdiffstats
path: root/editors/scite/Makefile
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-10-01 18:44:26 +0800
committerkrion <krion@FreeBSD.org>2003-10-01 18:44:26 +0800
commit447e02fdf99333e6f6c2ea64e5ee3028d40d74d9 (patch)
treedf7549a6f91499d21b001013dcb272c8e952d5fd /editors/scite/Makefile
parentb408658030005f95258e2ff4500cee181ca21699 (diff)
downloadfreebsd-ports-graphics-447e02fdf99333e6f6c2ea64e5ee3028d40d74d9.tar.gz
freebsd-ports-graphics-447e02fdf99333e6f6c2ea64e5ee3028d40d74d9.tar.zst
freebsd-ports-graphics-447e02fdf99333e6f6c2ea64e5ee3028d40d74d9.zip
- Update to version 1.55
PR: 57354 Submitted by: Ports Fury
Diffstat (limited to 'editors/scite/Makefile')
-rw-r--r--editors/scite/Makefile25
1 files changed, 20 insertions, 5 deletions
diff --git a/editors/scite/Makefile b/editors/scite/Makefile
index 602a833e734..97ca23dd82c 100644
--- a/editors/scite/Makefile
+++ b/editors/scite/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= scite
-PORTVERSION= 1.50
+PORTVERSION= 1.55
CATEGORIES= editors gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://www.scintilla.org/
@@ -23,11 +23,26 @@ WRKSRC= ${WRKDIR}/${PORTNAME}/gtk
USE_X_PREFIX= yes
USE_GMAKE= yes
-USE_GNOME= gnomehier gtk12
MAKEFILE= makefile
-MAKE_ENV= MKDIR="${MKDIR}"
-post-extract:
- @${PERL} -pi -e 's|\x0d||' ${WRKSRC}/makefile
+.if defined(WITH_GTK2)
+USE_GNOME= gtk20
+PKGNAMESUFFIX= -gtk2
+.else
+USE_GNOME= gtk12
+MAKE_ARGS= GTK1=yes
+.endif
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/../bin/SciTE ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/../doc/scite.1 ${MANPREFIX}/man/man1
+ @${MKDIR} ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/../src/*.properties ${DATADIR}
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/../doc/*.html ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/../doc/*.jpg ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/../doc/*.png ${DOCSDIR}
+.endif
.include <bsd.port.mk>