freebsd-ports/misc/gnu-watch/Makefile
John Marino b302b6eeea misc/gnu-watch: document ncurses requirement (USES+=ncurses)
approved by:	infrastructure blanket
2016-02-02 23:46:39 +00:00

31 lines
670 B
Makefile

# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
PORTNAME= watch
DISTVERSION= 3.2.8
CATEGORIES= misc
MASTER_SITES= http://procps.sourceforge.net/ \
LOCAL/ehaupt
PKGNAMEPREFIX= gnu-
DISTNAME= procps-${DISTVERSION}
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= GNU watch command
LICENSE= GPLv2
USES= ncurses
LDFLAGS+= -lncurses
PLIST_FILES= bin/${PKGBASE} man/man1/gnu-watch.1.gz
do-build:
${CC} ${CFLAGS} ${LDFLAGS} ${WRKSRC}/${PORTNAME}.c \
-o ${WRKSRC}/${PKGBASE}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PKGBASE} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/watch.1 \
${STAGEDIR}${MANPREFIX}/man/man1/${PKGBASE}.1
.include <bsd.port.mk>