freebsd-ports/misc/gnu-watch/Makefile
Baptiste Daroussin b6f2b70996 Make the port futur proof allowing to build with regular ncurses (without w)
for the day base will have only 1 ncurses
2020-01-02 09:19:02 +00:00

38 lines
850 B
Makefile

# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
PORTNAME= watch
DISTVERSION= 3.3.16
CATEGORIES= misc
MASTER_SITES= SF/procps-ng/Production \
LOCAL/ehaupt
PKGNAMEPREFIX= gnu-
DISTNAME= procps-ng-${DISTVERSION}
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= GNU watch command
LICENSE= GPLv2
GNU_CONFIGURE= yes
USES= autoreconf gettext gmake libtool localbase:ldflags ncurses \
pkgconfig tar:xz
USE_CSTD= gnu99
OPTIONS_DEFINE= UNICODE
OPTIONS_DEFAULT=UNICODE
UNICODE_CONFIGURE_ENABLE= watch8bit
PLIST_FILES= bin/${PKGBASE} man/man1/gnu-watch.1.gz
post-patch:
${REINPLACE_CMD} 's/ncursesw/${NCURSES_IMPL}/g' ${WRKSRC}/configure.ac
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \
${STAGEDIR}${PREFIX}/bin/${PKGBASE}
${INSTALL_MAN} ${WRKSRC}/watch.1 \
${STAGEDIR}${MANPREFIX}/man/man1/${PKGBASE}.1
.include <bsd.port.mk>