Skip to content

Commit

Permalink
x11/xcur2png: add new port
Browse files Browse the repository at this point in the history
xcur2png is a program which let you take PNG image from X cursor, and
generate config-file which is reusable by xcursorgen. To put it
simply, it is converter from X cursor to PNG image.

https://github.com/eworm-de/xcur2png
  • Loading branch information
jbeich committed Mar 11, 2024
1 parent 47aa6d8 commit 5079e81
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 0 deletions.
1 change: 1 addition & 0 deletions x11/Makefile
Expand Up @@ -529,6 +529,7 @@
SUBDIR += xcoloredit
SUBDIR += xcolors
SUBDIR += xconsole
SUBDIR += xcur2png
SUBDIR += xcursorgen
SUBDIR += xcut
SUBDIR += xdg-desktop-portal-gnome
Expand Down
23 changes: 23 additions & 0 deletions x11/xcur2png/Makefile
@@ -0,0 +1,23 @@
PORTNAME= xcur2png
DISTVERSION= 0.7.1
CATEGORIES= x11

MAINTAINER= jbeich@FreeBSD.org
COMMENT= Convert X cursors to PNG images
WWW= https://github.com/eworm-de/xcur2png

LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING

LIB_DEPENDS= libpng.so:graphics/png

USES= localbase pkgconfig xorg
USE_GITHUB= yes
USE_XORG= xcursor
GH_ACCOUNT= eworm-de
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
PLIST_FILES= bin/${PORTNAME} \
share/man/man1/${PORTNAME}.1.gz

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions x11/xcur2png/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1501572314
SHA256 (eworm-de-xcur2png-0.7.1_GH0.tar.gz) = 3874e8bd4f287dbd8b6d4a16ee1f450970965fd773288d85bb53143e2e631add
SIZE (eworm-de-xcur2png-0.7.1_GH0.tar.gz) = 99328
3 changes: 3 additions & 0 deletions x11/xcur2png/pkg-descr
@@ -0,0 +1,3 @@
xcur2png is a program which let you take PNG image from X cursor, and
generate config-file which is reusable by xcursorgen. To put it
simply, it is converter from X cursor to PNG image.

0 comments on commit 5079e81

Please sign in to comment.