openbsd-ports/misc/gnuwatch/Makefile

36 lines
790 B
Makefile
Raw Normal View History

2010-11-05 04:24:49 -04:00
# $OpenBSD: Makefile,v 1.8 2010/11/05 08:24:50 sthen Exp $
COMMENT= GNU watch command
2009-06-03 20:18:31 -04:00
DISTNAME= procps-3.2.8
PKGNAME= ${DISTNAME:S/procps/gnuwatch/}
CATEGORIES= misc
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
HOMEPAGE= http://procps.sourceforge.net/
2009-06-03 20:18:31 -04:00
# GPLv2/LGPLv2.1
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2010-11-05 04:24:49 -04:00
WANTLIB= ncurses c
MASTER_SITES= ${HOMEPAGE}
2010-11-05 04:24:49 -04:00
USE_GROFF= Yes
NO_REGRESS= 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>