devel/commit-patch: Moved man to share/man

Approved by:    portmgr (blanket)
This commit is contained in:
Muhammad Moinur Rahman 2024-02-23 10:14:38 +01:00
parent 97cab72f2b
commit 0b1a751e30
No known key found for this signature in database
GPG key ID: BDB9B5A617C0BC91

View file

@ -1,5 +1,6 @@
PORTNAME= commit-patch
PORTVERSION= 2.6
PORTREVISION= 1
CATEGORIES= devel
MAINTAINER= lapo@lapo.it
@ -22,14 +23,13 @@ GH_ACCOUNT= caldwell
NO_ARCH= yes
PLIST_FILES= bin/commit-partial bin/commit-patch \
share/emacs/site-lisp/commit-patch-buffer.el \
man/man1/commit-partial.1.gz man/man1/commit-patch.1.gz
share/man/man1/commit-partial.1.gz share/man/man1/commit-patch.1.gz
PORTDOCS= *
OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} -e 's/share[/]man/man/' \
-e 's/PREFIX=/PREFIX?=/' \
${REINPLACE_CMD} -e 's/PREFIX=/PREFIX?=/' \
-e 's/$$(PREFIX)/$$(DESTDIR)$$(PREFIX)/' \
${WRKSRC}/Makefile