Skip to content

Commit

Permalink
www/c-icap-modules: moved manpages to share/man
Browse files Browse the repository at this point in the history
Set GNU_CONFIGURE_MANPREFIX and fix plist
Fix formatting to make linters happy
  • Loading branch information
rosorio committed Mar 4, 2024
1 parent 9b657d5 commit ace627a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
14 changes: 8 additions & 6 deletions 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
Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion www/c-icap-modules/pkg-plist
Expand Up @@ -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
Expand Down

0 comments on commit ace627a

Please sign in to comment.