# Created by: Eric Freeman # $FreeBSD: head/sysutils/tty-clock/Makefile 385665 2015-05-07 20:24:15Z mat $ PORTNAME= tty-clock PORTVERSION= 2.0.0 PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= ports@FreeBSD.org COMMENT= Terminal based clock LICENSE= BSD3CLAUSE USE_GITHUB= yes GH_ACCOUNT= xorg62 GH_TAGNAME= 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