diff options
author | Mateusz Piotrowski <0mp@FreeBSD.org> | 2021-04-21 20:32:22 +0000 |
---|---|---|
committer | Mateusz Piotrowski <0mp@FreeBSD.org> | 2021-04-21 20:33:42 +0000 |
commit | eb0f7f193a3774afd3863731e1a926730e2f81d8 (patch) | |
tree | 901f74f8ebf66f6539f6c95b7e37e520e2fc4ed9 /x11-clocks/catclock/Makefile | |
parent | 47340329e7b677aabf7caae900878c61c04f3b73 (diff) | |
download | ports-eb0f7f193a3774afd3863731e1a926730e2f81d8.tar.gz ports-eb0f7f193a3774afd3863731e1a926730e2f81d8.zip |
x11-clocks/catclock: Add new port: Kit-cat xclock
Diffstat (limited to 'x11-clocks/catclock/Makefile')
-rw-r--r-- | x11-clocks/catclock/Makefile | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/x11-clocks/catclock/Makefile b/x11-clocks/catclock/Makefile new file mode 100644 index 000000000000..ee54201a30d5 --- /dev/null +++ b/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> |