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