summaryrefslogtreecommitdiff
path: root/sysutils/tty-clock/Makefile
blob: 54f1bb3820efda397a45a211c4523c488184acd4 (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
26
27
28
29
30
PORTNAME=	tty-clock
PORTVERSION=	2.3
DISTVERSIONPREFIX=	v
CATEGORIES=	sysutils

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Terminal based clock
WWW=		https://github.com/xorg62/tty-clock

LICENSE=	BSD3CLAUSE

USES=		gmake ncurses pkgconfig

ALL_TARGET=	tty-clock
LDFLAGS+=	${NCURSESLIBS}

PLIST_FILES=	bin/tty-clock \
		share/man/man1/tty-clock.1.gz

GH_ACCOUNT=	xorg62
USE_GITHUB=	yes

post-patch:
	@${REINPLACE_CMD} -e 's| -g||; /@echo /d; /@chmod/d' ${WRKSRC}/Makefile

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/tty-clock ${STAGEDIR}${PREFIX}/bin/
	${INSTALL_MAN} ${WRKSRC}/tty-clock.1 ${STAGEDIR}${PREFIX}/share/man/man1/

.include <bsd.port.mk>