freebsd-ports/misc/gnu-watch/Makefile
2009-03-27 09:53:36 +00:00

35 lines
717 B
Makefile

# New ports collection makefile for: gnu-watch
# Date created: 3 June 2005
# Whom: Emanuel Haupt <ehaupt@critical.ch>
#
# $FreeBSD$
#
PORTNAME= watch
DISTVERSION= 3.2.7
CATEGORIES= misc
MASTER_SITES= http://procps.sourceforge.net/ \
CRITICAL
PKGNAMEPREFIX= gnu-
DISTNAME= procps-${DISTVERSION}
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= GNU watch command
MAKE_JOBS_SAFE= yes
LDFLAGS+= -lncurses
MAN1= gnu-watch.1
PLIST_FILES= bin/${UNIQUENAME}
do-build:
${CC} ${CFLAGS} ${LDFLAGS} ${WRKSRC}/${PORTNAME}.c \
-o ${WRKSRC}/${UNIQUENAME}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${UNIQUENAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/watch.1 ${MANPREFIX}/man/man1/${UNIQUENAME}.1
.include <bsd.port.mk>