Prune sysutils/pcpustat
[dports.git] / sysutils / tty-clock / Makefile
1 # Created by: Eric Freeman <freebsdports@chillibear.com>
2 # $FreeBSD$
3
4 PORTNAME=       tty-clock
5 PORTVERSION=    2.0.0
6 PORTREVISION=   1
7 CATEGORIES=     sysutils
8
9 MAINTAINER=     ports@FreeBSD.org
10 COMMENT=        Terminal based clock
11
12 LICENSE=        BSD3CLAUSE
13
14 USE_GITHUB=     yes
15 GH_ACCOUNT=     xorg62
16 GH_TAGNAME=     a82fd71
17
18 USES=           ncurses
19 ALL_TARGET=     tty-clock
20
21 PLIST_FILES=    bin/tty-clock
22
23 post-patch:
24         @${REINPLACE_CMD} -e \
25                 '/^CC/s| =| ?=| ; \
26                  s|/usr/local|$${PREFIX}| ; \
27                  /^CFLAGS/s| =| +=| ; \
28                  s|-Wall -g|-Wall| ; \
29                  /^LDFLAGS/s| =| +=| ; \
30                  /@echo /s|^|#| ; \
31                  s|@$${CC} |$${CC} | ; \
32                  s|@cp |$${BSD_INSTALL_PROGRAM} | ; \
33                  s| $${INSTALLPATH}| $${DESTDIR}$${INSTALLPATH}| ; \
34                  /@chmod /s|^|#|' ${WRKSRC}/Makefile
35
36 .include <bsd.port.mk>