openbsd-ports/misc/gnuwatch/Makefile
landry 1afa06706b Now that we have strtof(), remove this hacky patch, the function was not
even used, and this could lead to conflicts.

'joah' jasper@ (MAINTAINER)
2008-06-14 15:49:21 +00:00

33 lines
763 B
Makefile

# $OpenBSD: Makefile,v 1.4 2008/06/14 15:49:21 landry Exp $
COMMENT= GNU watch command
DISTNAME= procps-3.2.7
PKGNAME= ${DISTNAME:S/procps/gnuwatch/}p0
CATEGORIES= misc
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
HOMEPAGE= http://procps.sourceforge.net/
# GPL/LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= ncurses c
MASTER_SITES= ${HOMEPAGE}
NO_REGRESS= Yes
do-build:
${CC} ${CFLAGS} -c ${WRKSRC}/watch.c -o ${WRKSRC}/watch.o
${CC} ${CFLAGS} ${LDFLAGS} -lncurses ${WRKSRC}/watch.o -o ${WRKSRC}/gnuwatch
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gnuwatch ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/watch.1 ${PREFIX}/man/man1/gnuwatch.1
.include <bsd.port.mk>