Skip to content

Commit

Permalink
devel/libdevq: Moved man to share/man
Browse files Browse the repository at this point in the history
Approved by:    portmgr (blanket)
  • Loading branch information
5u623l20 committed Feb 23, 2024
1 parent 8e35e07 commit 2bd3985
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions devel/libdevq/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
PORTNAME= libdevq
PORTVERSION= 0.0.4
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= https://github.com/freebsd/${PORTNAME}/releases/download/${PORTVERSION}/

Expand All @@ -10,6 +11,7 @@ WWW= https://github.com/freebsd/libdevq
LICENSE= BSD2CLAUSE

GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
USES= autoreconf libtool pathfix tar:xz
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
Expand All @@ -21,4 +23,8 @@ OPTIONS_SUB= yes
PROGRAMS_DESC= Build diagnostic programs
PROGRAMS_CONFIGURE_ENABLE=programs

post-patch:
@${REINPLACE_CMD} -e 's|^mandir=.*|mandir=${PREFIX}/share/man|' \
${WRKSRC}/Makefile.am

.include <bsd.port.mk>
2 changes: 1 addition & 1 deletion devel/libdevq/pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ lib/libdevq.so
lib/libdevq.so.0
lib/libdevq.so.0.0.0
libdata/pkgconfig/libdevq-1.0.pc
man/man3/libdevq.3.gz
share/man/man3/libdevq.3.gz

0 comments on commit 2bd3985

Please sign in to comment.