freebsd-ports/sysutils/tty-clock/Makefile
Baptiste Daroussin 266130ce71 ncurses: fix build with futur base and ports ncurses
in preparation for the split in base of libtinfo and libncurses, clearly
specify when the packages should link against.

Note this also fixes the build with ports ncurses
2021-09-23 18:22:54 +02:00

31 lines
663 B
Makefile

# Created by: Eric Freeman <freebsdports@chillibear.com>
PORTNAME= tty-clock
PORTVERSION= 2.3
DISTVERSIONPREFIX= v
CATEGORIES= sysutils
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Terminal based 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>