freebsd-ports/x11-clocks/wmbinclock/Makefile
2021-04-06 16:31:07 +02:00

27 lines
607 B
Makefile

# Created by: Harold Gutch <logix@foobar.franken.de>
PORTNAME= wmbinclock
PORTVERSION= 0.51
CATEGORIES= x11-clocks windowmaker
MAINTAINER= logix@foobar.franken.de
COMMENT= Binary clock in a windowmaker applet
LICENSE= GPLv2 BSD3CLAUSE
LICENSE_COMB= dual
USE_GITHUB= yes
GH_ACCOUNT= engerim42
PLIST_FILES= bin/wmBinClock
USES= gmake xorg
USE_XORG= x11 xext xpm
post-patch:
@${REINPLACE_CMD} -e 's|^CC.*=|CC ?=|' -e 's|^CFLAGS.*=|CFLAGS +=|' \
-e 's|/usr/X11R6|${LOCALBASE}|g' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wmBinClock ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>