git: e615d22b4785 - main - devel/libgetline: moved manpages to share/man
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 26 Feb 2024 17:55:09 UTC
The branch main has been updated by rodrigo:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e615d22b478578e71cb904c09ac3ae0fab20db05
commit e615d22b478578e71cb904c09ac3ae0fab20db05
Author: Rodrigo Osorio <rodrigo@FreeBSD.org>
AuthorDate: 2024-02-25 11:13:32 +0000
Commit: Rodrigo Osorio <rodrigo@FreeBSD.org>
CommitDate: 2024-02-26 17:54:38 +0000
devel/libgetline: moved manpages to share/man
Update cmake arg INSTALL_MAN_DIR and fix plist
Reorder and reformat Makefile to make linters happy
Bump PORTREVISION
---
devel/libgetline/Makefile | 21 +++++++++++----------
devel/libgetline/pkg-plist | 2 +-
2 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/devel/libgetline/Makefile b/devel/libgetline/Makefile
index 8cc3dd069727..ffc82b91722b 100644
--- a/devel/libgetline/Makefile
+++ b/devel/libgetline/Makefile
@@ -1,5 +1,6 @@
PORTNAME= getline
PORTVERSION= 3.9
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://rodrigo.osorio.free.fr/freebsd/distfiles/
DISTNAME= ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}-src
@@ -9,17 +10,17 @@ COMMENT= Small, portable, and easy to use command line library
LICENSE= MIT
-WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}
-
USE_LDCONFIG= yes
-MAKE_ENV+= AR="${AR}"
-MAKE_ENV+= CC="${CC}"
-MAKE_ENV+= INSTALL="${INSTALL}"
-MAKE_ENV+= LN="${LN}"
-MAKE_ENV+= RANLIB="${RANLIB}"
-MAKE_ENV+= INST_INCDIR="${STAGEDIR}${PREFIX}/include"
-MAKE_ENV+= INST_LIBDIR="${STAGEDIR}${PREFIX}/lib"
-MAKE_ENV+= INST_MANDIR="${STAGEDIR}${PREFIX}/man"
+MAKE_ENV+= AR="${AR}" \
+ CC="${CC}" \
+ INST_INCDIR="${STAGEDIR}${PREFIX}/include" \
+ INST_LIBDIR="${STAGEDIR}${PREFIX}/lib" \
+ INST_MANDIR="${STAGEDIR}${PREFIX}/share/man" \
+ INSTALL="${INSTALL}" \
+ LN="${LN}" \
+ RANLIB="${RANLIB}"
+
+WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}
.include <bsd.port.mk>
diff --git a/devel/libgetline/pkg-plist b/devel/libgetline/pkg-plist
index ce761eb86b24..1f72f00b1f11 100644
--- a/devel/libgetline/pkg-plist
+++ b/devel/libgetline/pkg-plist
@@ -2,4 +2,4 @@ include/getline.h
lib/libgetline.a
lib/libgetline.so
lib/libgetline.so.1
-man/man3/getline.3.gz
+share/man/man3/getline.3.gz