diff --git a/net-mgmt/mdata-client/Makefile b/net-mgmt/mdata-client/Makefile index e23788dd3e4a..57c892076011 100644 --- a/net-mgmt/mdata-client/Makefile +++ b/net-mgmt/mdata-client/Makefile @@ -1,19 +1,20 @@ PORTNAME= mdata-client PORTVERSION= 20151001 +PORTREVISION= 1 CATEGORIES= net-mgmt MAINTAINER= otis@FreeBSD.org COMMENT= Metadata tools for use within guests of the SmartOS WWW= https://github.com/joyent/mdata-client LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON= SmartOS only runs on amd64 USES= gmake USE_GITHUB= yes GH_ACCOUNT= joyent .include diff --git a/net-mgmt/mdata-client/files/patch-Makefile b/net-mgmt/mdata-client/files/patch-Makefile index e1df5d473a55..42f8bccf1168 100644 --- a/net-mgmt/mdata-client/files/patch-Makefile +++ b/net-mgmt/mdata-client/files/patch-Makefile @@ -1,14 +1,14 @@ --- Makefile.orig 2015-04-24 23:13:47 UTC +++ Makefile -@@ -18,9 +18,9 @@ HDRS = dynstr.h plat.h proto.h common.h base64.h crc32 +@@ -18,9 +18,9 @@ LDLIBS = CFLAGS = -I$(PWD) -Wall -Wextra -Werror -g -O2 LDLIBS = -BINDIR = /usr/sbin +BINDIR = ${PREFIX}/sbin MANSECT = 1m -MANDIR = /usr/share/man/man$(MANSECT) -+MANDIR = ${PREFIX}/man/man$(MANSECT) ++MANDIR = ${PREFIX}/share/man/man$(MANSECT) DESTDIR = $(PWD)/proto PROGS = \ diff --git a/net-mgmt/mdata-client/pkg-plist b/net-mgmt/mdata-client/pkg-plist index 534a3da91da2..9728a04a56e2 100644 --- a/net-mgmt/mdata-client/pkg-plist +++ b/net-mgmt/mdata-client/pkg-plist @@ -1,8 +1,8 @@ -man/man1/mdata-delete.1.gz -man/man1/mdata-get.1.gz -man/man1/mdata-list.1.gz -man/man1/mdata-put.1.gz sbin/mdata-delete sbin/mdata-get sbin/mdata-list sbin/mdata-put +share/man/man1/mdata-delete.1.gz +share/man/man1/mdata-get.1.gz +share/man/man1/mdata-list.1.gz +share/man/man1/mdata-put.1.gz