2010-11-05 04:24:49 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2010/11/05 08:24:50 sthen Exp $
|
2006-01-28 06:04:08 -05:00
|
|
|
|
2007-09-15 19:54:16 -04:00
|
|
|
COMMENT= GNU watch command
|
2006-01-28 06:04:08 -05:00
|
|
|
|
2009-06-03 20:18:31 -04:00
|
|
|
DISTNAME= procps-3.2.8
|
|
|
|
PKGNAME= ${DISTNAME:S/procps/gnuwatch/}
|
2006-01-28 06:04:08 -05:00
|
|
|
CATEGORIES= misc
|
|
|
|
|
2006-09-17 16:16:00 -04:00
|
|
|
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
|
2006-01-28 06:04:08 -05:00
|
|
|
|
|
|
|
HOMEPAGE= http://procps.sourceforge.net/
|
|
|
|
|
2009-06-03 20:18:31 -04:00
|
|
|
# GPLv2/LGPLv2.1
|
2006-01-28 06:04:08 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2010-11-05 04:24:49 -04:00
|
|
|
|
2006-01-28 06:04:08 -05:00
|
|
|
WANTLIB= ncurses c
|
|
|
|
|
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
|
|
|
2010-11-05 04:24:49 -04:00
|
|
|
USE_GROFF= Yes
|
2006-01-28 06:04:08 -05:00
|
|
|
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
|
2006-01-28 06:04:08 -05:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gnuwatch ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/watch.1 ${PREFIX}/man/man1/gnuwatch.1
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|