openbsd-ports/misc/gnuwatch/Makefile

29 lines
578 B
Makefile
Raw Normal View History

COMMENT= GNU watch command
2009-06-03 20:18:31 -04:00
DISTNAME= procps-3.2.8
PKGNAME= ${DISTNAME:S/procps/gnuwatch/}
CATEGORIES= misc
REVISION= 1
HOMEPAGE= http://procps.sourceforge.net/
2009-06-03 20:18:31 -04:00
# GPLv2/LGPLv2.1
PERMIT_PACKAGE= Yes
2010-11-05 04:24:49 -04:00
WANTLIB= curses c
MASTER_SITES= ${HOMEPAGE}
2013-03-11 07:20:26 -04:00
NO_TEST= Yes
do-build:
${CC} ${CFLAGS} -c ${WRKSRC}/watch.c -o ${WRKSRC}/watch.o
2009-03-24 10:58:25 -04:00
${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>