git: 4577d90cb60f - main - lang/sketchy: Sanitize MANPREFIX
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 22 Jan 2024 20:27:14 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=4577d90cb60f99508e10d9864f768a34c50ebf43 commit 4577d90cb60f99508e10d9864f768a34c50ebf43 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2024-01-22 17:49:21 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2024-01-22 20:26:38 +0000 lang/sketchy: Sanitize MANPREFIX Approved by: portmgr (blanket) --- lang/sketchy/Makefile | 7 +++---- lang/sketchy/pkg-plist | 6 +++--- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/lang/sketchy/Makefile b/lang/sketchy/Makefile index 68be010425b0..b292d666d3cf 100644 --- a/lang/sketchy/Makefile +++ b/lang/sketchy/Makefile @@ -1,6 +1,6 @@ PORTNAME= sketchy PORTVERSION= 20070218 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= lang devel lisp scheme MASTER_SITES= SF/sketchy-lisp/sketchy-lisp/2007-02-18 @@ -20,16 +20,15 @@ CFLAGS+= -Wno-error=int-conversion .endif post-patch: - @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/sketchy.h - @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/src/pp.scm @${REINPLACE_CMD} -E \ -e '/ln -sf/! s,(BIN|DOC|INC|LIB|MAN|SHR)DIR),DESTDIR)$$(&,' \ -e '/ln -sf/ s,LIBDIR,DESTDIR)$$(&,2' \ + -e 's|man/man|share/man/man|g' \ ${WRKSRC}/Makefile post-install: ${LN} -sf libsketchy.so.31 ${STAGEDIR}${PREFIX}/lib/libsketchy.so ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsketchy.so - ${LN} -s sketchy.1.gz ${STAGEDIR}${MANPREFIX}/man/man1/sk.1.gz + ${LN} -s sketchy.1.gz ${STAGEDIR}${PREFIX}/share/man/man1/sk.1.gz .include <bsd.port.post.mk> diff --git a/lang/sketchy/pkg-plist b/lang/sketchy/pkg-plist index c612f0aaef1a..bab6785b07a5 100644 --- a/lang/sketchy/pkg-plist +++ b/lang/sketchy/pkg-plist @@ -5,9 +5,9 @@ include/sketchy.h lib/libsketchy.a lib/libsketchy.so lib/libsketchy.so.31 -man/man1/sk.1.gz -man/man1/sketchy.1.gz -man/man1/skpp.1.gz +share/man/man1/sk.1.gz +share/man/man1/sketchy.1.gz +share/man/man1/skpp.1.gz %%DATADIR%%/LICENSE %%DATADIR%%/ext/assp.scm %%DATADIR%%/ext/count.scm