freebsd-ports/x11-clocks/wmclockmon/Makefile
Jesper Schmitz Mouridsen 9d74a305e7 x11-clocks/wmclockmon: resurrect
Update to gtk20 with patch from debian.
 Fix build with -fno-common from openbsd patches.

PR:		268143
2022-12-05 16:12:42 +01:00

34 lines
927 B
Makefile

PORTNAME= wmclockmon
PORTVERSION= 0.8.1
PORTREVISION= 8
CATEGORIES= x11-clocks windowmaker
MASTER_SITES= http://tnemeth.free.fr/projets/programmes/
MAINTAINER= list@understudy.net
COMMENT= Digital clock dockapp with a similar look to wmcpuload
WWW= http://tnemeth.free.fr/projets/dockapps.html
LICENSE= GPLv2
LIB_DEPENDS= libharfbuzz.so:print/harfbuzz \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
USES= xorg gnome pkgconfig
USE_XORG= xpm x11 xext
USE_GNOME= gtk20 cairo gdkpixbuf2
GNU_CONFIGURE= yes
post-patch:
@${REINPLACE_CMD} -e 's|gtk-config|pkgconf gtk+-2.0|g'\
${WRKSRC}/wmclockmon-config/Makefile.in
@${REINPLACE_CMD} -e 's|gtk-config|pkgconf gtk+-2.0|g'\
${WRKSRC}/wmclockmon-cal/Makefile.in
post-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for i in 1 2
@${INSTALL_DATA} ${WRKSRC}/doc/sample${i}.wmclockmonrc ${STAGEDIR}${EXAMPLESDIR}
.endfor
.include <bsd.port.mk>