1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-17 19:39:43 +00:00
freebsd-ports/x11-clocks/wmbinclock/Makefile
Niclas Zeising 4c46ca73d8 Add USES=xorg USES=gl, ports categories x
Add USES=xorg and USES=gl to ports in categories starting with 'x'
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-07 18:36:55 +00:00

30 lines
681 B
Makefile

# Created by: Harold Gutch <logix@foobar.franken.de>
# $FreeBSD$
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= xpm
post-patch:
@${REINPLACE_CMD} -e 's|#include <values.h>||' ${WRKSRC}/wmBinClock.c
@${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>