diff options
author | swills <swills@FreeBSD.org> | 2018-09-02 23:34:17 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2018-09-02 23:34:17 +0800 |
commit | 4c866b1cbac02e31c0ce6ab4f6a6bd006ef75131 (patch) | |
tree | 420ce097a1a493cbc72b67b436784d8cd2da59ae /textproc | |
parent | f019ea6a621955a589073e789b15ae8dba0e0899 (diff) | |
download | freebsd-ports-gnome-4c866b1cbac02e31c0ce6ab4f6a6bd006ef75131.tar.gz freebsd-ports-gnome-4c866b1cbac02e31c0ce6ab4f6a6bd006ef75131.tar.zst freebsd-ports-gnome-4c866b1cbac02e31c0ce6ab4f6a6bd006ef75131.zip |
textproc/ml1: upgrade to 4.12 and fix for amd64
PR: 231095
Submitted by: bob@eager.cx (maintainer)
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/ml1/Makefile | 20 | ||||
-rw-r--r-- | textproc/ml1/distinfo | 5 | ||||
-rw-r--r-- | textproc/ml1/pkg-message | 9 | ||||
-rw-r--r-- | textproc/ml1/pkg-plist | 6 |
4 files changed, 28 insertions, 12 deletions
diff --git a/textproc/ml1/Makefile b/textproc/ml1/Makefile index ea0337fa3a6c..829af7fbf3ce 100644 --- a/textproc/ml1/Makefile +++ b/textproc/ml1/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= ml1 -PORTVERSION= 4.11 +PORTVERSION= 4.12 CATEGORIES= textproc MASTER_SITES= http://www.ml1.org.uk/distfiles/ \ http://www.ancientgeek.org.uk/distfiles/ @@ -12,11 +12,25 @@ COMMENT= Original general purpose macro processor LICENSE= BSD3CLAUSE -PLIST_FILES= bin/ml1 man/man1/ml1.1.gz +OPTIONS_DEFINE= DOCS + +.include <bsd.port.pre.mk> + +post-patch: +.if ${ARCH} == amd64 + @${REINPLACE_CMD} \ + -e '/^#define FBSD32/s/1/0/' \ + -e '/^#define FBSD64/s/0/1/'\ + ${WRKSRC}/ml1.h +.endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ml1 ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/ml1.1.gz \ ${STAGEDIR}${MANPREFIX}/man/man1 -.include <bsd.port.mk> +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) + +.include <bsd.port.post.mk> diff --git a/textproc/ml1/distinfo b/textproc/ml1/distinfo index 50c3123272ec..a41d181833ce 100644 --- a/textproc/ml1/distinfo +++ b/textproc/ml1/distinfo @@ -1,2 +1,3 @@ -SHA256 (ml1-4.11.tar.gz) = d52cf77df8340f944f9cfa7d3ed37d37f19ac648db86feceda2175c915d1615d -SIZE (ml1-4.11.tar.gz) = 37706 +TIMESTAMP = 1535887237 +SHA256 (ml1-4.12.tar.gz) = 69d7d80b8f72f031412ac17e12ca54d8d962f6a297cbb9ca104594666678ad52 +SIZE (ml1-4.12.tar.gz) = 587730 diff --git a/textproc/ml1/pkg-message b/textproc/ml1/pkg-message index 3c8ddf00c581..19931dbebdaf 100644 --- a/textproc/ml1/pkg-message +++ b/textproc/ml1/pkg-message @@ -1,7 +1,2 @@ -================================================================================ - - ML/I documentation (in HTML and PDF) can be found at: - - http://www.ml1.org.uk - -================================================================================ +Additional ML/I documentation (in HTML and PDF) can be found at: + http://www.ml1.org.uk diff --git a/textproc/ml1/pkg-plist b/textproc/ml1/pkg-plist new file mode 100644 index 000000000000..e3c35ef1ed1d --- /dev/null +++ b/textproc/ml1/pkg-plist @@ -0,0 +1,6 @@ +bin/ml1 +man/man1/ml1.1.gz +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/ml1sig.pdf +%%PORTDOCS%%%%DOCSDIR%%/ml1tut.pdf +%%PORTDOCS%%%%DOCSDIR%%/ml1user.pdf |