aboutsummaryrefslogblamecommitdiff
path: root/sysutils/tty-clock/Makefile
blob: a6585c6e8d2d45638ca09f4986730b6376fd060e (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                        
           
 
                         

                         
                        
 
                                   
                                    
 
                          
 
                         

                                       
 




                                       

           




                                                                                                 
 
                      
# Created by: Eric Freeman <freebsdports@chillibear.com>
# $FreeBSD$

PORTNAME=	tty-clock
PORTVERSION=	2.3
DISTVERSIONPREFIX=	v
CATEGORIES=	sysutils

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Terminal based clock

LICENSE=	BSD3CLAUSE

ALL_TARGET=	tty-clock
LDFLAGS+=	-lncursesw
USES=		gmake ncurses pkgconfig

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

GH_ACCOUNT=	xorg62
USE_GITHUB=	yes

post-patch:
	@${REINPLACE_CMD} -e 's|share/man|man|; 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}/man/man1/

.include <bsd.port.mk>