git: c9891eb44655 - main - lang/scratch: Change *_DEPENDS to USES macros

From: Norikatsu Shigemura <nork_at_FreeBSD.org>
Date: Wed, 10 May 2023 15:33:51 UTC
The branch main has been updated by nork:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c9891eb44655e163e84365b6bc8e0a04dc46400c

commit c9891eb44655e163e84365b6bc8e0a04dc46400c
Author:     Takeshi Mutoh <takeshi.mutoh@gmail.com>
AuthorDate: 2023-05-10 15:32:27 +0000
Commit:     Norikatsu Shigemura <nork@FreeBSD.org>
CommitDate: 2023-05-10 15:32:27 +0000

    lang/scratch: Change *_DEPENDS to USES macros
    
    Pointed out by: diizzy
    Approved by:    takeshi.mutoh@gmail.com (maintainer), hrs (mentor)
---
 lang/scratch/Makefile | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/lang/scratch/Makefile b/lang/scratch/Makefile
index b0bcf0bd6095..8e609505dea5 100644
--- a/lang/scratch/Makefile
+++ b/lang/scratch/Makefile
@@ -12,12 +12,13 @@ LICENSE=	CC-BY-SA-3.0 GPLv2 MIT
 LICENSE_COMB=	multi
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	pkg-config:devel/pkgconf \
-		v4l_compat>=1.0.20100321:multimedia/v4l_compat
-LIB_DEPENDS=	libpango-1.0.so:x11-toolkits/pango \
-		libv4l2.so:multimedia/libv4l
+BUILD_DEPENDS=	v4l_compat>=1.0.20100321:multimedia/v4l_compat
+LIB_DEPENDS=	libv4l2.so:multimedia/libv4l
 RUN_DEPENDS=	squeak:lang/squeak
 
+USES=		gnome pkgconfig
+USE_GNOME=	pango
+
 DESKTOP_ENTRIES=	"Scratch" \
 			"${COMMENT}" \
 			"${DATADIR}/icons/128x128/scratch.png" \