diff options
-rw-r--r-- | devel/libdevq/Makefile | 6 | ||||
-rw-r--r-- | devel/libdevq/pkg-plist | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/devel/libdevq/Makefile b/devel/libdevq/Makefile index a155aa845f13..93998e385eb5 100644 --- a/devel/libdevq/Makefile +++ b/devel/libdevq/Makefile @@ -1,5 +1,6 @@ PORTNAME= libdevq PORTVERSION= 0.0.4 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= https://github.com/freebsd/${PORTNAME}/releases/download/${PORTVERSION}/ @@ -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 @@ -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> diff --git a/devel/libdevq/pkg-plist b/devel/libdevq/pkg-plist index 1a41d2f60e44..077b207a314e 100644 --- a/devel/libdevq/pkg-plist +++ b/devel/libdevq/pkg-plist @@ -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 |