Skip to content

Commit

Permalink
devel/libgetline: moved manpages to share/man
Browse files Browse the repository at this point in the history
Update cmake arg INSTALL_MAN_DIR and fix plist
Reorder and reformat Makefile to make linters happy
Bump PORTREVISION
  • Loading branch information
rosorio committed Feb 26, 2024
1 parent 46f65d7 commit e615d22
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
21 changes: 11 additions & 10 deletions 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
Expand All @@ -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>
2 changes: 1 addition & 1 deletion devel/libgetline/pkg-plist
Expand Up @@ -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

0 comments on commit e615d22

Please sign in to comment.