summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-02-26 09:01:46 +0100
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-02-26 09:06:02 +0100
commit9a2c9f6d943cd2a9bd6abfc0a5082ad875aab7c3 (patch)
tree71ba95b29d1bb551c4be79cde6386b12fb3b15b6 /textproc
parentac8812fb4a4836d90b129eb4d1488271f6c38553 (diff)
downloadfreebsd-ports-9a2c9f6d943cd2a9bd6abfc0a5082ad875aab7c3.zip
textproc/mdocml: Moved man to share/man
Approved by: portmgr (blanket)
Diffstat (limited to 'textproc')
-rw-r--r--textproc/mdocml/Makefile2
-rw-r--r--textproc/mdocml/pkg-plist30
2 files changed, 17 insertions, 15 deletions
diff --git a/textproc/mdocml/Makefile b/textproc/mdocml/Makefile
index ef5fa8c79059..30d1e610807b 100644
--- a/textproc/mdocml/Makefile
+++ b/textproc/mdocml/Makefile
@@ -1,5 +1,6 @@
PORTNAME= mdocml
PORTVERSION= 1.14.6
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://mdocml.bsd.lv/snapshots/ \
LOCAL/uqs
@@ -24,6 +25,7 @@ post-configure:
@${REINPLACE_CMD} -e '/^CFLAGS/s/=/?=/' -e '/^PREFIX/s/=/?=/' \
-e 's/^INSTALL_PROGRAM.*/INSTALL_PROGRAM=${INSTALL_PROGRAM}/' \
-e 's|/var/www|${WWWDIR}|' \
+ -e 's|^MANDIR.*|MANDIR=${PREFIX}/share/man|' \
${WRKSRC}/Makefile.local
cp ${WRKSRC}/cgi.h.example ${WRKSRC}/cgi.h
diff --git a/textproc/mdocml/pkg-plist b/textproc/mdocml/pkg-plist
index 0e1bcf8dca17..e7106c0d7e89 100644
--- a/textproc/mdocml/pkg-plist
+++ b/textproc/mdocml/pkg-plist
@@ -4,21 +4,21 @@ bin/demandoc
bin/mandoc
bin/soelim
bin/whatis
-man/man1/apropos.1.gz
-man/man1/demandoc.1.gz
-@comment man/man1/man.1.gz
-man/man1/mandoc.1.gz
-man/man1/soelim.1.gz
-man/man1/whatis.1.gz
-man/man5/man.conf.5.gz
-man/man5/mandoc.db.5.gz
-man/man7/eqn.7.gz
-man/man7/man.7.gz
-man/man7/mandoc_char.7.gz
-man/man7/mdoc.7.gz
-@comment man/man7/roff.7.gz
-man/man7/tbl.7.gz
-man/man8/makewhatis.8.gz
+share/man/man1/apropos.1.gz
+share/man/man1/demandoc.1.gz
+@comment share/man/man1/man.1.gz
+share/man/man1/mandoc.1.gz
+share/man/man1/soelim.1.gz
+share/man/man1/whatis.1.gz
+share/man/man5/man.conf.5.gz
+share/man/man5/mandoc.db.5.gz
+share/man/man7/eqn.7.gz
+share/man/man7/man.7.gz
+share/man/man7/mandoc_char.7.gz
+share/man/man7/mdoc.7.gz
+@comment share/man/man7/roff.7.gz
+share/man/man7/tbl.7.gz
+share/man/man8/makewhatis.8.gz
sbin/makewhatis
%%WWWDIR%%/cgi-bin/man.cgi
%%WWWDIR%%/htdocs/mandoc.css