1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/x11-clocks/wmbinclock/Makefile

30 lines
726 B
Makefile
Raw Normal View History

# New ports collection makefile for: wmBinClock
# Date created: 16 Mar 2003
2005-09-23 15:00:38 +00:00
# Whom: Harold Gutch <logix@foobar.franken.de>
#
# $FreeBSD$
#
PORTNAME= wmbinclock
2005-09-23 15:00:38 +00:00
PORTVERSION= 0.3
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
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_XPM= yes
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|${X11BASE}|g' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wmBinClock ${PREFIX}/bin
.include <bsd.port.mk>