aboutsummaryrefslogtreecommitdiff
path: root/editors/scite
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-08-20 18:44:42 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-08-20 18:44:42 +0000
commit20f69b667516967c2df126c1157b590d3a77226d (patch)
tree6d87d5f86b46aa3aecf41bdcc2f1ed388fd6e7b1 /editors/scite
parentf14eeadec8634d5298a4315b5aa6f9bed2c4d4e1 (diff)
downloadports-20f69b667516967c2df126c1157b590d3a77226d.tar.gz
ports-20f69b667516967c2df126c1157b590d3a77226d.zip
Notes
Diffstat (limited to 'editors/scite')
-rw-r--r--editors/scite/Makefile16
1 files changed, 5 insertions, 11 deletions
diff --git a/editors/scite/Makefile b/editors/scite/Makefile
index ee84c3c8312a..07163eba470b 100644
--- a/editors/scite/Makefile
+++ b/editors/scite/Makefile
@@ -27,6 +27,10 @@ USE_GNOME= gnomehier
MAKEFILE= makefile
MAKE_ENV= CC="${CXX}"
+OPTIONS= GTK2 "Turns on GTK-2.x support (Default is GTK-1)" off
+
+.include <bsd.port.pre.mk>
+
.if defined(WITH_GTK2)
USE_GNOME+= gtk20
PKGNAMESUFFIX= -gtk2
@@ -37,16 +41,6 @@ MAKE_ARGS= GTK1=yes
MAN1= scite.1
-.if !defined(WITH_GTK2)
-pre-everything::
- @${ECHO_MSG} ""
- @${ECHO_MSG} "SciTE has the following tunable option(s):"
- @${ECHO_MSG} " WITH_GTK2=yes Turns on GTK-2.x support"
- @${ECHO_MSG} " (unavailable if x11-toolkits/scintilla has been"
- @${ECHO_MSG} " built with GTK-1.x support)"
- @${ECHO_MSG} ""
-.endif
-
post-patch:
@cd ${WRKSRC} && ${MV} SciTE.desktop SciTE.desktop.pre_tr \
&& ${TR} -d "\r" < SciTE.desktop.pre_tr > SciTE.desktop
@@ -63,4 +57,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/../doc/*.png ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/../src/*.properties ${DATADIR}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>