cda57aad98
- Support ncurses USES macro - Add LICENSE PR: 187761 Submitted by: Ports Fury
38 lines
760 B
Makefile
38 lines
760 B
Makefile
# Created by: Eric Freeman <freebsdports@chillibear.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= tty-clock
|
|
PORTVERSION= 2.0.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= GH
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Terminal based clock
|
|
|
|
LICENSE= BSD
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= xorg62
|
|
GH_TAGNAME= ${GH_COMMIT}
|
|
GH_COMMIT= a82fd71
|
|
|
|
USES= ncurses
|
|
ALL_TARGET= tty-clock
|
|
|
|
PLIST_FILES= bin/tty-clock
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
'/^CC/s| =| ?=| ; \
|
|
s|/usr/local|$${PREFIX}| ; \
|
|
/^CFLAGS/s| =| +=| ; \
|
|
s|-Wall -g|-Wall| ; \
|
|
/^LDFLAGS/s| =| +=| ; \
|
|
/@echo /s|^|#| ; \
|
|
s|@$${CC} |$${CC} | ; \
|
|
s|@cp |$${BSD_INSTALL_PROGRAM} | ; \
|
|
s| $${INSTALLPATH}| $${DESTDIR}$${INSTALLPATH}| ; \
|
|
/@chmod /s|^|#|' ${WRKSRC}/Makefile
|
|
|
|
.include <bsd.port.mk>
|