mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Update mdocml to 1.12.2
While here, add staging support. Submitted by: pfg (partially) Approved by: mentor (beat)
This commit is contained in:
parent
0ec4b93cf6
commit
0714e2fdcc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333422
4 changed files with 14 additions and 24 deletions
|
@ -2,7 +2,7 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= mdocml
|
PORTNAME= mdocml
|
||||||
PORTVERSION= 1.12.1
|
PORTVERSION= 1.12.2
|
||||||
CATEGORIES= textproc
|
CATEGORIES= textproc
|
||||||
MASTER_SITES= http://mdocml.bsd.lv/snapshots/ \
|
MASTER_SITES= http://mdocml.bsd.lv/snapshots/ \
|
||||||
${MASTER_SITE_LOCAL}
|
${MASTER_SITE_LOCAL}
|
||||||
|
@ -11,14 +11,9 @@ MASTER_SITE_SUBDIR= uqs
|
||||||
MAINTAINER= uqs@FreeBSD.org
|
MAINTAINER= uqs@FreeBSD.org
|
||||||
COMMENT= mdoc macro compiler
|
COMMENT= mdoc macro compiler
|
||||||
|
|
||||||
MAN1= mandoc.1 demandoc.1
|
|
||||||
MAN3= mandoc.3
|
|
||||||
MAN7= eqn.7 man.7 mandoc_char.7 mdoc.7 roff.7 tbl.7
|
|
||||||
|
|
||||||
EXAMPLESDIR_REL=share/examples/mandoc
|
EXAMPLESDIR_REL=share/examples/mandoc
|
||||||
|
|
||||||
# Skip installing preconv(1) to avoid conflicting with textproc/groff
|
# Skip installing preconv(1) to avoid conflicting with textproc/groff
|
||||||
NO_STAGE= yes
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e '/^CFLAGS/s/-g//' -e '/^PREFIX/s/=/?=/' \
|
@${REINPLACE_CMD} -e '/^CFLAGS/s/-g//' -e '/^PREFIX/s/=/?=/' \
|
||||||
-e '/INSTALL_LIB/d' -e '/LIBDIR/d' -e '/INCLUDEDIR/d' \
|
-e '/INSTALL_LIB/d' -e '/LIBDIR/d' -e '/INCLUDEDIR/d' \
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
SHA256 (mdocml-1.12.1.tar.gz) = 12a756cd2901954bccdd25819a16d0ab0501c32c87ad7973570cd65608d32891
|
SHA256 (mdocml-1.12.2.tar.gz) = c4f37afbf823636f63e3cd0673ae6c2ffc6017558e86bdcc02dc825c62daa9d7
|
||||||
SIZE (mdocml-1.12.1.tar.gz) = 273811
|
SIZE (mdocml-1.12.2.tar.gz) = 286400
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
--- config.h.post.orig 2012-03-24 03:19:14.000000000 +0100
|
|
||||||
+++ config.h.post 2012-03-24 07:38:50.000000000 +0100
|
|
||||||
@@ -20,6 +20,12 @@
|
|
||||||
# define betoh32(x) OSSwapBigToHostInt32(x)
|
|
||||||
# define htobe64(x) OSSwapHostToBigInt64(x)
|
|
||||||
# define betoh64(x) OSSwapBigToHostInt64(x)
|
|
||||||
+#elif defined(__FreeBSD__)
|
|
||||||
+/* FreeBSD doesn't have these for userland code, yet. */
|
|
||||||
+# define betoh32(x) (x)
|
|
||||||
+# define betoh64(x) (x)
|
|
||||||
+# define htobe32(x) (x)
|
|
||||||
+# define htobe64(x) (x)
|
|
||||||
#elif defined(__linux__)
|
|
||||||
# define betoh32(x) be32toh(x)
|
|
||||||
# define betoh64(x) be64toh(x)
|
|
|
@ -1,4 +1,14 @@
|
||||||
bin/demandoc
|
bin/demandoc
|
||||||
bin/mandoc
|
bin/mandoc
|
||||||
|
man/man1/demandoc.1.gz
|
||||||
|
man/man1/mandoc.1.gz
|
||||||
|
man/man3/mandoc.3.gz
|
||||||
|
man/man3/tbl.3.gz
|
||||||
|
man/man7/eqn.7.gz
|
||||||
|
man/man7/man.7.gz
|
||||||
|
man/man7/mandoc_char.7.gz
|
||||||
|
man/man7/mdoc.7.gz
|
||||||
|
man/man7/roff.7.gz
|
||||||
|
man/man7/tbl.7.gz
|
||||||
%%EXAMPLESDIR%%/example.style.css
|
%%EXAMPLESDIR%%/example.style.css
|
||||||
@dirrm %%EXAMPLESDIR%%
|
@dirrmtry %%EXAMPLESDIR%%
|
||||||
|
|
Loading…
Add table
Reference in a new issue