Date: Fri, 20 Aug 2004 23:09:46 +0800 (CST) From: Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/70720: [UPDATE] Enable OPTIONS feature of ports/editors/scite Message-ID: <200408201509.i7KF9ksk053675@alumni.csie.nctu.edu.tw> Resent-Message-ID: <200408201510.i7KFAOt3024172@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 70720 >Category: ports >Synopsis: [UPDATE] Enable OPTIONS feature of ports/editors/scite >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Aug 20 15:10:24 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Ying-Chieh Chen >Release: FreeBSD 4.10-STABLE i386 >Organization: NCTU CSIE >Environment: System: FreeBSD alumni 4.10-STABLE FreeBSD 4.10-STABLE #25: Fri Jul 2 07:46:15 CST 2004 wcpan@ccduty:/bsdhome/bsd4/obj/bsdhome/bsd4/src/sys/CSIEBSD i386 >Description: Enable OPTIONS feature of ports/editors/scite >How-To-Repeat: Apply the patch. >Fix: --- scite.patch begins here --- diff -ruN /usr/ports/editors/scite/Makefile scite/Makefile --- /usr/ports/editors/scite/Makefile Sat Jul 31 23:58:51 2004 +++ scite/Makefile Fri Aug 20 21:20:01 2004 @@ -27,6 +27,10 @@ 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 @@ 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 @@ ${INSTALL_DATA} ${WRKSRC}/../doc/*.png ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/../src/*.properties ${DATADIR} -.include <bsd.port.mk> +.include <bsd.port.post.mk> --- scite.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408201509.i7KF9ksk053675>