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
Rong-En Fan 8f84e7e59a - Respect X11BASE
PR:		ports/106056
Submitted by:	rafan
Approved by:	portmgr (linimon)
2006-12-06 13:48:40 +00:00

30 lines
726 B
Makefile

# New ports collection makefile for: wmBinClock
# Date created: 16 Mar 2003
# Whom: Harold Gutch <logix@foobar.franken.de>
#
# $FreeBSD$
#
PORTNAME= wmbinclock
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>