freebsd-ports/x11-clocks/wmbinclock/Makefile
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00

29 lines
727 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
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
USE_GMAKE= yes
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 ${PREFIX}/bin
.include <bsd.port.mk>