freebsd-ports/misc/gnu-watch/Makefile
Mathieu Arnold 21a283f3be Remove UNIQUENAME and LATEST_LINK.
UNIQUENAME was never unique, it was only used by USE_LDCONFIG and now,
we won't have conflicts there.

Use PKGBASE instead of LATEST_LINK in PKGLATESTFILE, the *only* consumer
is pkg-devel, and it works just fine without LATEST_LINK as pkg-devel
has the correct PKGNAME anyway.

Now that UNIQUENAME is gone, OPTIONSFILE is too. (it's been called
OPTIONS_FILE now.)

Reviewed by:	antoine, bapt
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3336
2015-08-17 14:20:40 +00:00

30 lines
655 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
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>