Skip to content

Commit

Permalink
x11-clocks/catclock: Add new port: Kit-cat xclock
Browse files Browse the repository at this point in the history
  • Loading branch information
0mp committed Apr 21, 2021
1 parent 4734032 commit eb0f7f1
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 0 deletions.
1 change: 1 addition & 0 deletions x11-clocks/Makefile
Expand Up @@ -11,6 +11,7 @@
SUBDIR += bclock
SUBDIR += buici-clock
SUBDIR += cairo-clock
SUBDIR += catclock
SUBDIR += dclock
SUBDIR += emiclock
SUBDIR += eyeclock
Expand Down
37 changes: 37 additions & 0 deletions x11-clocks/catclock/Makefile
@@ -0,0 +1,37 @@
PORTNAME= catclock
PORTVERSION= g20200328
CATEGORIES= x11-clocks

MAINTAINER= 0mp@FreeBSD.org
COMMENT= Kit-cat xclock

LICENSE= MIT

USES= localbase:ldflags motif xorg
USE_GITHUB= yes
GH_ACCOUNT= BarkyTheDog
GH_TAGNAME= 9de77d05e04bc463bdbd8cfe1f9247042369e3f9
USE_XORG= x11 xext xt

CFLAGS+= -I${LOCALBASE}/include/X11
LIBS+= -lX11 ${MOTIFLIB} -lXt -lXext -lm

PLIST_FILES= bin/${PORTNAME} \
share/man/man1/${PORTNAME}.1.gz
PORTDOCS= README.md readme_original
PORTEXAMPLES= xclock.ad

OPTIONS_DEFINE= DOCS EXAMPLES

do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} ${LIBS} -o ${PORTNAME} *.c

do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/xclock.man ${STAGEDIR}${PREFIX}/share/man/man1/${PORTNAME}.1
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/|} ${STAGEDIR}${EXAMPLESDIR}

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions x11-clocks/catclock/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1619018232
SHA256 (BarkyTheDog-catclock-g20200328-9de77d05e04bc463bdbd8cfe1f9247042369e3f9_GH0.tar.gz) = 97d3b53a3f4d71c9765b6e7c100de199e74b03b96978d221f05b8f5fd3e739a7
SIZE (BarkyTheDog-catclock-g20200328-9de77d05e04bc463bdbd8cfe1f9247042369e3f9_GH0.tar.gz) = 58891
4 changes: 4 additions & 0 deletions x11-clocks/catclock/pkg-descr
@@ -0,0 +1,4 @@
This is a version of the X Window System xclock program, which has been
enhanced with a "cat mode".

WWW: https://github.com/BarkyTheDog/catclock

0 comments on commit eb0f7f1

Please sign in to comment.