2005-06-05 10:44:29 -04:00
|
|
|
# New ports collection makefile for: gnu-watch
|
|
|
|
# Date created: 3 June 2005
|
|
|
|
# Whom: Emanuel Haupt <ehaupt@critical.ch>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= watch
|
2006-08-18 02:31:27 -04:00
|
|
|
DISTVERSION= 3.2.7
|
2005-06-05 10:44:29 -04:00
|
|
|
CATEGORIES= misc
|
2006-06-01 08:13:54 -04:00
|
|
|
MASTER_SITES= http://procps.sourceforge.net/ \
|
2008-03-27 15:27:34 -04:00
|
|
|
CRITICAL
|
2005-06-05 10:44:29 -04:00
|
|
|
PKGNAMEPREFIX= gnu-
|
|
|
|
DISTNAME= procps-${DISTVERSION}
|
|
|
|
|
2005-10-06 07:57:11 -04:00
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
2005-06-05 10:44:29 -04:00
|
|
|
COMMENT= GNU watch command
|
|
|
|
|
2009-03-27 05:53:36 -04:00
|
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
|
2006-08-18 02:31:27 -04:00
|
|
|
LDFLAGS+= -lncurses
|
2005-06-05 10:44:29 -04:00
|
|
|
|
2006-08-18 02:31:27 -04:00
|
|
|
MAN1= gnu-watch.1
|
2005-06-05 10:44:29 -04:00
|
|
|
PLIST_FILES= bin/${UNIQUENAME}
|
|
|
|
|
|
|
|
do-build:
|
2006-08-18 02:31:27 -04:00
|
|
|
${CC} ${CFLAGS} ${LDFLAGS} ${WRKSRC}/${PORTNAME}.c \
|
|
|
|
-o ${WRKSRC}/${UNIQUENAME}
|
2005-06-05 10:44:29 -04:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${UNIQUENAME} ${PREFIX}/bin
|
2006-08-18 02:31:27 -04:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/watch.1 ${MANPREFIX}/man/man1/${UNIQUENAME}.1
|
2005-06-05 10:44:29 -04:00
|
|
|
|
2007-10-03 21:53:45 -04:00
|
|
|
.include <bsd.port.mk>
|