aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodrigo Osorio <rodrigo@FreeBSD.org>2024-02-25 11:13:32 +0000
committerRodrigo Osorio <rodrigo@FreeBSD.org>2024-02-26 17:54:38 +0000
commite615d22b478578e71cb904c09ac3ae0fab20db05 (patch)
tree92d32bf8974bb783ad4bc6d697413c2c11fc9790
parent46f65d7f5e1f2185e8584cbb07d2fdf4ee9a4984 (diff)
downloadports-e615d22b478578e71cb904c09ac3ae0fab20db05.tar.gz
ports-e615d22b478578e71cb904c09ac3ae0fab20db05.zip
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
-rw-r--r--devel/libgetline/Makefile21
-rw-r--r--devel/libgetline/pkg-plist2
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