git: a9aa28ba36e0 - main - devel/libmaa: Convert REINPLACE_CMD to patch files
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Dec 2021 19:41:31 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=a9aa28ba36e0b74e7e7f7f9d09b0c8c3a58a1368 commit a9aa28ba36e0b74e7e7f7f9d09b0c8c3a58a1368 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2021-12-21 18:46:21 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2021-12-21 18:46:21 +0000 devel/libmaa: Convert REINPLACE_CMD to patch files --- devel/libmaa/Makefile | 4 ---- devel/libmaa/files/patch-doc-Makefile | 11 +++++++++++ devel/libmaa/files/patch-maa-Makefile | 11 +++++++++++ 3 files changed, 22 insertions(+), 4 deletions(-) diff --git a/devel/libmaa/Makefile b/devel/libmaa/Makefile index fa98d252c992..e9722cedfd8b 100644 --- a/devel/libmaa/Makefile +++ b/devel/libmaa/Makefile @@ -22,10 +22,6 @@ USE_GITHUB= yes OPTIONS_DEFINE= DOCS -post-patch: - @${REINPLACE_CMD} -e '/^FILES *=/ s|LICENSE||' ${WRKSRC}/doc/Makefile - @${REINPLACE_CMD} -e '/^#SHLIB_TEENY *=/ s|#||' ${WRKSRC}/maa/Makefile - post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmaa.so diff --git a/devel/libmaa/files/patch-doc-Makefile b/devel/libmaa/files/patch-doc-Makefile new file mode 100644 index 000000000000..fc4ef9f46784 --- /dev/null +++ b/devel/libmaa/files/patch-doc-Makefile @@ -0,0 +1,11 @@ +--- doc/Makefile.orig 2020-04-10 22:07:59 UTC ++++ doc/Makefile +@@ -40,7 +40,7 @@ SLIDEFIGS = + + TEMPORARIES = general.tex + +-FILES = libmaa.600dpi.ps ../README TODO NEWS LICENSE ++FILES = libmaa.600dpi.ps ../README TODO NEWS + FILESDIR = ${DOCDIR} + + libmaa.dvi: libmaa.tex ${TEMPORARIES} ${FIGS} diff --git a/devel/libmaa/files/patch-maa-Makefile b/devel/libmaa/files/patch-maa-Makefile new file mode 100644 index 000000000000..32facab7c4b6 --- /dev/null +++ b/devel/libmaa/files/patch-maa-Makefile @@ -0,0 +1,11 @@ +--- maa/Makefile.orig 2020-04-10 22:07:59 UTC ++++ maa/Makefile +@@ -41,7 +41,7 @@ _manpages: ${MAN} + + SHLIB_MAJOR = ${MAA_MAJOR} + SHLIB_MINOR = ${MAA_MINOR} +-#SHLIB_TEENY = ${MAA_TEENY} ++SHLIB_TEENY = ${MAA_TEENY} + + EXPORT_SYMBOLS = export.sym +