Tidy Makefile.common (no functional change) - Move PKGREVISION (unchanged) to Makefiles. - Fix used-by annotation. - Add PATCHDIR so clamav-doc has consistent distinfo/patches (even though clamav-doc just copies files that aren't patched).diff -r1.36 -r1.37 pkgsrc/security/clamav/Makefile
(gdt)
@@ -1,18 +1,19 @@ | @@ -1,18 +1,19 @@ | |||
1 | # $NetBSD: Makefile,v 1.36 2017/07/24 09:39:42 maya Exp $ | 1 | # $NetBSD: Makefile,v 1.37 2017/08/18 15:19:49 gdt Exp $ | |
2 | 2 | |||
3 | .include "Makefile.common" | 3 | .include "Makefile.common" | |
4 | 4 | |||
5 | COMMENT= Anti-virus toolkit | 5 | COMMENT= Anti-virus toolkit | |
6 | PKGREVISION= 3 | |||
6 | 7 | |||
7 | USE_LANGUAGES= c c++ | 8 | USE_LANGUAGES= c c++ | |
8 | USE_LIBTOOL= yes | 9 | USE_LIBTOOL= yes | |
9 | USE_TOOLS+= gsed | 10 | USE_TOOLS+= gsed | |
10 | GNU_CONFIGURE= yes | 11 | GNU_CONFIGURE= yes | |
11 | SET_LIBDIR= yes | 12 | SET_LIBDIR= yes | |
12 | FAKE_NCURSES= yes | 13 | FAKE_NCURSES= yes | |
13 | CONFIGURE_ARGS+= --disable-clamav | 14 | CONFIGURE_ARGS+= --disable-clamav | |
14 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} | 15 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} | |
15 | CONFIGURE_ARGS+= --with-dbdir=${CLAMAV_DBDIR} | 16 | CONFIGURE_ARGS+= --with-dbdir=${CLAMAV_DBDIR} | |
16 | CONFIGURE_ARGS+= --with-group=${CLAMAV_GROUP} | 17 | CONFIGURE_ARGS+= --with-group=${CLAMAV_GROUP} | |
17 | CONFIGURE_ARGS+= --with-user=${CLAMAV_USER} | 18 | CONFIGURE_ARGS+= --with-user=${CLAMAV_USER} | |
18 | CONFIGURE_ARGS+= --with-libcurl=${BUILDLINK_PREFIX.curl} | 19 | CONFIGURE_ARGS+= --with-libcurl=${BUILDLINK_PREFIX.curl} |
@@ -1,15 +1,15 @@ | @@ -1,15 +1,15 @@ | |||
1 | # $NetBSD: Makefile.common,v 1.7 2017/07/24 09:39:42 maya Exp $ | 1 | # $NetBSD: Makefile.common,v 1.8 2017/08/18 15:19:49 gdt Exp $ | |
2 | # | 2 | # | |
3 | # used by clamav/Makefile | 3 | # used by security/clamav/Makefile | |
4 | # used by clamav-doc/Makefile | 4 | # used by security/clamav-doc/Makefile | |
5 | 5 | |||
6 | DISTNAME= clamav-0.99.2 | 6 | DISTNAME= clamav-0.99.2 | |
7 | PKGREVISION= 3 | |||
8 | CATEGORIES= security | 7 | CATEGORIES= security | |
9 | MASTER_SITES= http://www.clamav.net/downloads/production/ | 8 | MASTER_SITES= http://www.clamav.net/downloads/production/ | |
10 | 9 | |||
11 | MAINTAINER?= pkgsrc-users@NetBSD.org | 10 | MAINTAINER?= pkgsrc-users@NetBSD.org | |
12 | HOMEPAGE= http://www.clamav.net/ | 11 | HOMEPAGE= http://www.clamav.net/ | |
13 | LICENSE= gnu-gpl-v2 | 12 | LICENSE= gnu-gpl-v2 | |
14 | 13 | |||
15 | DISTINFO_FILE= ${.CURDIR}/../../security/clamav/distinfo | 14 | DISTINFO_FILE= ${.CURDIR}/../../security/clamav/distinfo | |
15 | PATCHDIR= ${.CURDIR}/../../security/clamav/patches |
@@ -1,18 +1,19 @@ | @@ -1,18 +1,19 @@ | |||
1 | # $NetBSD: Makefile,v 1.2 2015/12/11 16:31:06 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.3 2017/08/18 15:19:50 gdt Exp $ | |
2 | 2 | |||
3 | .include "../../security/clamav/Makefile.common" | 3 | .include "../../security/clamav/Makefile.common" | |
4 | 4 | |||
5 | PKGNAME= ${DISTNAME:S/clamav/clamav-doc/} | 5 | PKGNAME= ${DISTNAME:S/clamav/clamav-doc/} | |
6 | PKGREVISION= 3 | |||
6 | COMMENT= Anti-virus toolkit documents | 7 | COMMENT= Anti-virus toolkit documents | |
7 | 8 | |||
8 | NO_BUILD= yes | 9 | NO_BUILD= yes | |
9 | NO_CONFIGURE= yes | 10 | NO_CONFIGURE= yes | |
10 | USE_TOOLS+= pax | 11 | USE_TOOLS+= pax | |
11 | 12 | |||
12 | DOCDIR= ${PREFIX}/share/doc/clamav | 13 | DOCDIR= ${PREFIX}/share/doc/clamav | |
13 | PDFDOC= clamav-mirror-howto.pdf clamdoc.pdf phishsigs_howto.pdf \ | 14 | PDFDOC= clamav-mirror-howto.pdf clamdoc.pdf phishsigs_howto.pdf \ | |
14 | signatures.pdf | 15 | signatures.pdf | |
15 | 16 | |||
16 | INSTALLATION_DIRS+= ${DOCDIR}/html | 17 | INSTALLATION_DIRS+= ${DOCDIR}/html | |
17 | 18 | |||
18 | do-install: | 19 | do-install: |