1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00: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:
Ulrich Spörlein 2013-11-10 18:16:15 +00:00
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

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= mdocml
PORTVERSION= 1.12.1
PORTVERSION= 1.12.2
CATEGORIES= textproc
MASTER_SITES= http://mdocml.bsd.lv/snapshots/ \
${MASTER_SITE_LOCAL}
@ -11,14 +11,9 @@ MASTER_SITE_SUBDIR= uqs
MAINTAINER= uqs@FreeBSD.org
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
# Skip installing preconv(1) to avoid conflicting with textproc/groff
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e '/^CFLAGS/s/-g//' -e '/^PREFIX/s/=/?=/' \
-e '/INSTALL_LIB/d' -e '/LIBDIR/d' -e '/INCLUDEDIR/d' \

View File

@ -1,2 +1,2 @@
SHA256 (mdocml-1.12.1.tar.gz) = 12a756cd2901954bccdd25819a16d0ab0501c32c87ad7973570cd65608d32891
SIZE (mdocml-1.12.1.tar.gz) = 273811
SHA256 (mdocml-1.12.2.tar.gz) = c4f37afbf823636f63e3cd0673ae6c2ffc6017558e86bdcc02dc825c62daa9d7
SIZE (mdocml-1.12.2.tar.gz) = 286400

View File

@ -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)

View File

@ -1,4 +1,14 @@
bin/demandoc
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
@dirrm %%EXAMPLESDIR%%
@dirrmtry %%EXAMPLESDIR%%