freebsd-ports/x11-clocks/wmbinclock/Makefile
Vanilla I. Shu 6aae51b6c6 Support stagedir.
Submitted by:	portmgr (blanket infrastructure)
2014-01-11 12:51:31 +00:00

25 lines
657 B
Makefile

# Created by: Harold Gutch <logix@foobar.franken.de>
# $FreeBSD$
PORTNAME= wmbinclock
PORTVERSION= 0.3
PORTREVISION= 2
CATEGORIES= x11-clocks windowmaker
MASTER_SITES= http://www.inxsoft.net/wmbinclock/
MAINTAINER= logix@foobar.franken.de
COMMENT= A binary clock in a windowmaker applet
PLIST_FILES= bin/wmBinClock
USES= gmake
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>