From owner-svn-ports-head@freebsd.org Sun Feb 14 22:31:40 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2A853AA8155; Sun, 14 Feb 2016 22:31:40 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DAAAD32C; Sun, 14 Feb 2016 22:31:39 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u1EMVcXp019423; Sun, 14 Feb 2016 22:31:38 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u1EMVcYX019422; Sun, 14 Feb 2016 22:31:38 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201602142231.u1EMVcYX019422@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Sun, 14 Feb 2016 22:31:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r408906 - head/x11-toolkits/gtkdatabox X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Feb 2016 22:31:40 -0000 Author: amdmi3 Date: Sun Feb 14 22:31:38 2016 New Revision: 408906 URL: https://svnweb.freebsd.org/changeset/ports/408906 Log: - Clarify LICENSE - Add LICENSE_FILE - Switch to options helpers Modified: head/x11-toolkits/gtkdatabox/Makefile Modified: head/x11-toolkits/gtkdatabox/Makefile ============================================================================== --- head/x11-toolkits/gtkdatabox/Makefile Sun Feb 14 22:29:56 2016 (r408905) +++ head/x11-toolkits/gtkdatabox/Makefile Sun Feb 14 22:31:38 2016 (r408906) @@ -11,11 +11,8 @@ DIST_SUBDIR= gnome2 MAINTAINER= ports@FreeBSD.org COMMENT= GTK+2 widget to display large amounts of numerical data -LICENSE= LGPL21 - -OPTIONS_DEFINE= GLADE GLADEUI DOCS EXAMPLES -GLADE_DESC= Enable libglade2 support -GLADEUI_DESC= Enable glade3 support +LICENSE= LGPL21+ +LICENSE_FILE= ${WRKSRC}/COPYING USES= libtool pathfix pkgconfig USE_GNOME= gtk20 @@ -25,14 +22,16 @@ CONFIGURE_ARGS= --includedir="${PREFIX}/ USE_LDCONFIG= yes INSTALL_TARGET= install-strip -OPTIONS_SUB=yes - PORTDOCS= * PORTEXAMPLES= * +OPTIONS_DEFINE= GLADE GLADEUI DOCS EXAMPLES +OPTIONS_SUB= yes + +GLADE_DESC= Enable libglade2 support GLADE_USE= GNOME=libglade2 GLADE_CONFIGURE_ENABLE= libglade - +GLADEUI_DESC= Enable glade3 support GLADEUI_LIB_DEPENDS= libgladeui-1.so:${PORTSDIR}/devel/glade3 GLADEUI_CONFIGURE_ENABLE= glade @@ -45,9 +44,12 @@ post-patch: /DISABLE_DEPRECATED/d' ${WRKSRC}/${dir}/Makefile.in .endfor -post-install: - @${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${EXAMPLESDIR} +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} api ${STAGEDIR}${DOCSDIR}) - (cd ${WRKSRC}/examples && ${INSTALL_DATA} *.c ${STAGEDIR}${EXAMPLESDIR}) + +post-install-EXAMPLES-on: + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/*.c ${STAGEDIR}${EXAMPLESDIR} .include