pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

sxcs: import sxcs-1.1.0 as wip/sxcs



Module Name:	pkgsrc-wip
Committed By:	Iku Iwasa <iquiw%NetBSD.org@localhost>
Pushed By:	iquiw
Date:		Sun Aug 25 11:12:08 2024 +0900
Changeset:	e925105a96d4486399025804adee88e27c10ab15

Modified Files:
	Makefile
Added Files:
	sxcs/COMMIT_MSG
	sxcs/DESCR
	sxcs/Makefile
	sxcs/PLIST
	sxcs/distinfo

Log Message:
sxcs: import sxcs-1.1.0 as wip/sxcs

sxcs - Simple X Color Sniper

Color picker and magnifier for X11.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e925105a96d4486399025804adee88e27c10ab15

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile        |  1 +
 sxcs/COMMIT_MSG |  5 +++++
 sxcs/DESCR      |  3 +++
 sxcs/Makefile   | 29 +++++++++++++++++++++++++++++
 sxcs/PLIST      |  4 ++++
 sxcs/distinfo   |  5 +++++
 6 files changed, 47 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index fbd9cd0064..3d76085965 100644
--- a/Makefile
+++ b/Makefile
@@ -5352,6 +5352,7 @@ SUBDIR+=	swift-git
 SUBDIR+=	swig4
 SUBDIR+=	swinehub
 SUBDIR+=	swisseph
+SUBDIR+=	sxcs
 SUBDIR+=	sxemacs
 SUBDIR+=	sxid
 SUBDIR+=	sylfilter
diff --git a/sxcs/COMMIT_MSG b/sxcs/COMMIT_MSG
new file mode 100644
index 0000000000..a4bf1a9bcc
--- /dev/null
+++ b/sxcs/COMMIT_MSG
@@ -0,0 +1,5 @@
+x11/sxcs: Add sxcss version 1.1.0
+
+sxcs - Simple X Color Sniper
+
+Color picker and magnifier for X11.
diff --git a/sxcs/DESCR b/sxcs/DESCR
new file mode 100644
index 0000000000..232b308157
--- /dev/null
+++ b/sxcs/DESCR
@@ -0,0 +1,3 @@
+sxcs - Simple X Color Sniper
+
+Color picker and magnifier for X11.
diff --git a/sxcs/Makefile b/sxcs/Makefile
new file mode 100644
index 0000000000..f9073a37d2
--- /dev/null
+++ b/sxcs/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD$
+
+DISTNAME=	sxcs-1.1.0
+CATEGORIES=	x11
+MASTER_SITES=	-https://codeberg.org/NRK/sxcs/archive/v${PKGVERSION_NOREV}.tar.gz
+
+MAINTAINER=	iquiw%NetBSD.org@localhost
+HOMEPAGE=	https://codeberg.org/NRK/sxcs
+COMMENT=	Minimal X11 Color Picker and Magnifier
+LICENSE=	gnu-gpl-v3
+
+WRKSRC=	${WRKDIR}/sxcs
+
+INSTALLATION_DIRS+=	bin \
+			${PKGMANDIR}/man1 \
+			share/zsh/site-functions
+
+do-build:
+	cd ${WRKSRC} && ${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -o sxcs sxcs.c -s -lX11 -lXcursor
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/sxcs ${DESTDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/sxcs.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+	${INSTALL_DATA} ${WRKSRC}/etc/zsh-completion/_sxcs \
+			${DESTDIR}${PREFIX}/share/zsh/site-functions/_sxcs
+
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/libXcursor/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/sxcs/PLIST b/sxcs/PLIST
new file mode 100644
index 0000000000..c6a24c347b
--- /dev/null
+++ b/sxcs/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+bin/sxcs
+man/man1/sxcs.1
+share/zsh/site-functions/_sxcs
diff --git a/sxcs/distinfo b/sxcs/distinfo
new file mode 100644
index 0000000000..07ee2fcf7f
--- /dev/null
+++ b/sxcs/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (sxcs-1.1.0.tar.gz) = 29190d85acb271563770c9957d6c78d98881ee323633950b26f9d15e504db9e1
+SHA512 (sxcs-1.1.0.tar.gz) = c6e7bf79af3f546950e986838ec4626ce19363f433ae969c7bfdb24d380cf229cad18bd70e6b8ff836fdf44955d604c1119632c641dea8e8f870d42e2602c924
+Size (sxcs-1.1.0.tar.gz) = 23376 bytes


Home | Main Index | Thread Index | Old Index