openbsd-ports/misc/gnuwatch/Makefile
2022-03-11 19:38:05 +00:00

29 lines
578 B
Makefile

COMMENT= GNU watch command
DISTNAME= procps-3.2.8
PKGNAME= ${DISTNAME:S/procps/gnuwatch/}
CATEGORIES= misc
REVISION= 1
HOMEPAGE= http://procps.sourceforge.net/
# GPLv2/LGPLv2.1
PERMIT_PACKAGE= Yes
WANTLIB= curses c
MASTER_SITES= ${HOMEPAGE}
NO_TEST= Yes
do-build:
${CC} ${CFLAGS} -c ${WRKSRC}/watch.c -o ${WRKSRC}/watch.o
${CC} ${CFLAGS} ${LDFLAGS} ${WRKSRC}/watch.o -o ${WRKSRC}/gnuwatch \
-lncurses
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gnuwatch ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/watch.1 ${PREFIX}/man/man1/gnuwatch.1
.include <bsd.port.mk>