aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-10-19 17:04:22 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2017-10-19 17:04:22 +0800
commit44cd2c61cd73917efc4e27e012907955b0fe90c3 (patch)
treeb18fbdf1608bbcc588b23c020fb3d006160cffff /graphics
parent7044182f6439208b98ccc6468e92bb553a1bfe62 (diff)
downloadfreebsd-ports-gnome-44cd2c61cd73917efc4e27e012907955b0fe90c3.tar.gz
freebsd-ports-gnome-44cd2c61cd73917efc4e27e012907955b0fe90c3.tar.zst
freebsd-ports-gnome-44cd2c61cd73917efc4e27e012907955b0fe90c3.zip
- Add LICENSE
- Switch to USES=localbase - Switch to options helpers - Pet portlint - Update WWW Approved by: portmgr blanket
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gnome-color-manager/Makefile22
-rw-r--r--graphics/gnome-color-manager/pkg-descr2
2 files changed, 9 insertions, 15 deletions
diff --git a/graphics/gnome-color-manager/Makefile b/graphics/gnome-color-manager/Makefile
index ed1a6e46fef8..eca2e3ed6fd7 100644
--- a/graphics/gnome-color-manager/Makefile
+++ b/graphics/gnome-color-manager/Makefile
@@ -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 ; \
diff --git a/graphics/gnome-color-manager/pkg-descr b/graphics/gnome-color-manager/pkg-descr
index ce060bcd73fe..6a7d9951a6a0 100644
--- a/graphics/gnome-color-manager/pkg-descr
+++ b/graphics/gnome-color-manager/pkg-descr
@@ -2,4 +2,4 @@ GNOME Color Manager is a session framework for the GNOME desktop environment
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