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