blob: 1a7bf841a49cad64064b01cf7586b0d9835f115b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# 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>
|