ports/misc/gnu-watch/Makefile
Felix Palmen 7d1faa7179 bsd.sites.mk: Update all ports using USE_GITLAB
Replace GL_COMMIT by GL_TAGNAME in all ports. The new GL_TAGNAME is
backwards-compatible (accepting any commit hash as before), but also
understands an actual tag name. Moving to tag names where appropriate is
left to individual ports' maintainers.

Approved by:		portmgr (tcberner, mentor)
Differential Revision:	https://reviews.freebsd.org/D37077
2023-07-12 20:56:04 +02:00

44 lines
983 B
Makefile

PORTNAME= watch
DISTVERSIONPREFIX= v
DISTVERSION= 3.3.17
CATEGORIES= misc
PKGNAMEPREFIX= gnu-
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= GNU watch command
WWW= https://gitlab.com/procps-ng/procps/
LICENSE= GPLv2
USES= autoreconf gettext-tools gmake libtool localbase:ldflags \
ncurses pkgconfig tar:xz
USE_CSTD= gnu99
USE_GITLAB= yes
GL_ACCOUNT= procps-ng
GL_PROJECT= procps
GL_TAGNAME= 19a508ea121c0c4ac6d0224575a036de745eaaf8
GNU_CONFIGURE= yes
ALL_TARGET= watch
PLIST_FILES= bin/${PKGBASE} \
man/man1/gnu-watch.1.gz
OPTIONS_DEFINE= NLS UNICODE
OPTIONS_DEFAULT= UNICODE
NLS_USES= gettext
NLS_CONFIGURE_OFF= --disable-nls
NLS_LDFLAGS= -lintl
UNICODE_CONFIGURE_ENABLE= watch8bit
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>