aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-02-25 07:54:20 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-02-25 08:18:39 +0000
commit2c05d39f604e947ddda16203eecc8c903909dbf3 (patch)
tree3c42cc393f1c5a223ea128fed33eaf7dcbec7cad
parentba99689e80d765f301f603aecb56f32ab893c27b (diff)
downloadports-2c05d39f604e947ddda16203eecc8c903909dbf3.tar.gz
ports-2c05d39f604e947ddda16203eecc8c903909dbf3.zip
net/gmid: Moved man to share/man
Approved by: portmgr (blanket)
-rw-r--r--net/gmid/Makefile4
-rw-r--r--net/gmid/pkg-plist10
2 files changed, 9 insertions, 5 deletions
diff --git a/net/gmid/Makefile b/net/gmid/Makefile
index 047a2d974341..77f762ac6788 100644
--- a/net/gmid/Makefile
+++ b/net/gmid/Makefile
@@ -1,5 +1,6 @@
PORTNAME= gmid
DISTVERSION= 2.0
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= https://github.com/omar-polo/${PORTNAME}/releases/download/${DISTVERSION}/ \
https://ftp.omarpolo.com/
@@ -25,6 +26,9 @@ GROUPS= _gmid
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc
+post-patch:
+ @${REINPLACE_CMD} -e 's|/man|/share/man|' ${WRKSRC}/configure
+
post-install:
${INSTALL_DATA} ${FILESDIR}/gmid.conf.sample \
${STAGEDIR}${PREFIX}/etc/
diff --git a/net/gmid/pkg-plist b/net/gmid/pkg-plist
index db4157f2d0cc..ff5022979e2e 100644
--- a/net/gmid/pkg-plist
+++ b/net/gmid/pkg-plist
@@ -3,8 +3,8 @@ bin/gemexp
bin/gg
bin/gmid
bin/titan
-man/man1/gemexp.1.gz
-man/man1/gg.1.gz
-man/man1/titan.1.gz
-man/man5/gmid.conf.5.gz
-man/man8/gmid.8.gz
+share/man/man1/gemexp.1.gz
+share/man/man1/gg.1.gz
+share/man/man1/titan.1.gz
+share/man/man5/gmid.conf.5.gz
+share/man/man8/gmid.8.gz