Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Oct 2017 09:04:22 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r452404 - head/graphics/gnome-color-manager
Message-ID:  <201710190904.v9J94Md3047239@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Oct 19 09:04:22 2017
New Revision: 452404
URL: https://svnweb.freebsd.org/changeset/ports/452404

Log:
  - Add LICENSE
  - Switch to USES=localbase
  - Switch to options helpers
  - Pet portlint
  - Update WWW
  
  Approved by:	portmgr blanket

Modified:
  head/graphics/gnome-color-manager/Makefile
  head/graphics/gnome-color-manager/pkg-descr

Modified: head/graphics/gnome-color-manager/Makefile
==============================================================================
--- head/graphics/gnome-color-manager/Makefile	Thu Oct 19 09:04:18 2017	(r452403)
+++ head/graphics/gnome-color-manager/Makefile	Thu Oct 19 09:04:22 2017	(r452404)
@@ -11,6 +11,9 @@ DIST_SUBDIR=	gnome3
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	Session framework for the GNOME desktop to manage color profiles
 
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 BUILD_DEPENDS=	docbook2man:textproc/docbook-utils \
 		itstool:textproc/itstool \
 		docbook-sgml>0:textproc/docbook-sgml
@@ -22,31 +25,22 @@ LIB_DEPENDS=	liblcms2.so:graphics/lcms2 \
 
 PORTSCOUT=	limitw:1,even
 
+USES=		desktop-file-utils gettext gmake localbase:ldflags gnome pathfix pkgconfig tar:xz
 USE_XORG=	xrandr
 USE_GNOME=	gnomedesktop3 gtk30 intlhack vte3
-USES=		desktop-file-utils gettext gmake gnome pathfix pkgconfig tar:xz
 USE_LDCONFIG=	yes
 INSTALLS_ICONS=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--enable-clutter=no
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
 
 OPTIONS_DEFINE=	RAW
 OPTIONS_DEFAULT=RAW
+OPTIONS_SUB=	yes
 
 RAW_DESC=	Enable RAW EXIF support
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MRAW}
-LIB_DEPENDS+=	libexiv2.so:graphics/exiv2
-CONFIGURE_ARGS+=--enable-exiv=yes
-PLIST_SUB+=	RAW=""
-.else
-CONFIGURE_ARGS+=--enable-exiv=no
-PLIST_SUB+=	RAW="@comment "
-.endif
+RAW_LIB_DEPENDS=	libexiv2.so:graphics/exiv2
+RAW_CONFIGURE_ON=	--enable-exiv=yes
+RAW_CONFIGURE_OFF=	--enable-exiv=no
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|-Wclobbered||g ; s|-Wempty-body||g ; \

Modified: head/graphics/gnome-color-manager/pkg-descr
==============================================================================
--- head/graphics/gnome-color-manager/pkg-descr	Thu Oct 19 09:04:18 2017	(r452403)
+++ head/graphics/gnome-color-manager/pkg-descr	Thu Oct 19 09:04:22 2017	(r452404)
@@ -2,4 +2,4 @@ GNOME Color Manager is a session framework for the GNO
 that makes it easy to manage easy to manage, install and generate color
 profiles.
 
-WWW: http://projects.gnome.org/gnome-color-manager/
+WWW: https://git.gnome.org/browse/gnome-color-manager



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710190904.v9J94Md3047239>