diff --git a/sysutils/clone/Makefile b/sysutils/clone/Makefile index 5dc811bf85d9..6df27b8cc3a5 100644 --- a/sysutils/clone/Makefile +++ b/sysutils/clone/Makefile @@ -1,22 +1,23 @@ PORTNAME= clone DISTVERSIONPREFIX= v DISTVERSION= 1.0.8 +PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= cyclaero@gmail.com COMMENT= File tree cloning tool WWW= https://cyclaero.github.io/clone/ LICENSE= BSD2CLAUSE USES= compiler:c11 USE_GITHUB= yes GH_ACCOUNT= cyclaero PLIST_FILES= bin/clone \ - man/man1/clone.1.gz + share/man/man1/clone.1.gz post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/clone .include diff --git a/sysutils/clone/files/patch-Makefile b/sysutils/clone/files/patch-Makefile index 260a0ea5db9c..d76d8b9fdcc4 100644 --- a/sysutils/clone/files/patch-Makefile +++ b/sysutils/clone/files/patch-Makefile @@ -1,10 +1,10 @@ --- Makefile.orig 2015-05-01 19:21:45 UTC +++ Makefile @@ -60,5 +60,5 @@ clean: update: clean all install: $(TOOL) - strip -x -o /usr/local/bin/$(TOOL) $(TOOL) - cp $(TOOL).1 /usr/local/man/man1/$(TOOL).1 + strip -x -o $(DESTDIR)$(PREFIX)/bin/$(TOOL) $(TOOL) -+ cp $(TOOL).1 $(DESTDIR)$(PREFIX)/man/man1/$(TOOL).1 ++ cp $(TOOL).1 $(DESTDIR)$(PREFIX)/share/man/man1/$(TOOL).1