git: ace627a22ca1 - main - www/c-icap-modules: moved manpages to share/man
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 04 Mar 2024 09:52:23 UTC
The branch main has been updated by rodrigo:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ace627a22ca12de637e73427f76642ca3d2fa734
commit ace627a22ca12de637e73427f76642ca3d2fa734
Author: Rodrigo Osorio <rodrigo@FreeBSD.org>
AuthorDate: 2024-02-29 05:40:59 +0000
Commit: Rodrigo Osorio <rodrigo@FreeBSD.org>
CommitDate: 2024-03-04 09:50:45 +0000
www/c-icap-modules: moved manpages to share/man
Set GNU_CONFIGURE_MANPREFIX and fix plist
Fix formatting to make linters happy
---
www/c-icap-modules/Makefile | 14 ++++++++------
www/c-icap-modules/pkg-plist | 2 +-
2 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/www/c-icap-modules/Makefile b/www/c-icap-modules/Makefile
index 2ff980f404ec..20febacdaaea 100644
--- a/www/c-icap-modules/Makefile
+++ b/www/c-icap-modules/Makefile
@@ -1,5 +1,6 @@
PORTNAME= c-icap
PORTVERSION= 0.5.6
+PORTREVISION= 1
CATEGORIES= www security
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}${PKGNAMESUFFIX}/0.5.x/
PKGNAMESUFFIX= -modules
@@ -15,12 +16,13 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libclamav.so:security/clamav \
libicapapi.so:www/c-icap
-USES= libtool
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --enable-static \
- --with-c-icap=${LOCALBASE} \
- --with-clamav=${LOCALBASE}
-INSTALL_TARGET= install-strip
+USES= libtool
+GNU_CONFIGURE= yes
+GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
+CONFIGURE_ARGS= --enable-static \
+ --with-c-icap=${LOCALBASE} \
+ --with-clamav=${LOCALBASE}
+INSTALL_TARGET= install-strip
CFLAGS+= -DHAVE_STRNSTR
diff --git a/www/c-icap-modules/pkg-plist b/www/c-icap-modules/pkg-plist
index d4b594d937db..ffcff717a8db 100644
--- a/www/c-icap-modules/pkg-plist
+++ b/www/c-icap-modules/pkg-plist
@@ -13,7 +13,7 @@ lib/c_icap/srv_url_check.a
lib/c_icap/srv_url_check.so
lib/c_icap/virus_scan.a
lib/c_icap/virus_scan.so
-man/man8/c-icap-mods-sguardDB.8.gz
+share/man/man8/c-icap-mods-sguardDB.8.gz
%%DATADIR%%/templates/srv_content_filtering/en/BLOCK
%%DATADIR%%/templates/srv_url_check/en/DENY
%%DATADIR%%/templates/virus_scan/en/VIR_MODE_HEAD