freebsd-ports/security/proftpd-mod_clamav/Makefile
Mathieu Arnold 21a283f3be Remove UNIQUENAME and LATEST_LINK.
UNIQUENAME was never unique, it was only used by USE_LDCONFIG and now,
we won't have conflicts there.

Use PKGBASE instead of LATEST_LINK in PKGLATESTFILE, the *only* consumer
is pkg-devel, and it works just fine without LATEST_LINK as pkg-devel
has the correct PKGNAME anyway.

Now that UNIQUENAME is gone, OPTIONSFILE is too. (it's been called
OPTIONS_FILE now.)

Reviewed by:	antoine, bapt
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3336
2015-08-17 14:20:40 +00:00

35 lines
891 B
Makefile

# Created by: Martin Matuska <mm@FreeBSD.org>
# $FreeBSD$
PORTNAME= mod_clamav
DISTVERSION= 0.13
PORTREVISION= 0
CATEGORIES= security ftp
PKGNAMEPREFIX= proftpd-
MAINTAINER= mm@FreeBSD.org
COMMENT= ClamAV ProFTPD module
LICENSE= GPLv2
DESCR= ${.CURDIR}/pkg-descr
MASTERDIR= ${.CURDIR}/../../ftp/proftpd
GH_TAGNAME= v${DISTVERSION}
GIT_REVISION= f0cad45
RUN_DEPENDS+= clamd:${PORTSDIR}/security/clamav
_PROFTPD_MODULE_DISTFILES= mod_clamav-v0.13${EXTRACT_SUFX}:clamav
_PROFTPD_MODULE_EXTRACT_ONLY= mod_clamav-v0.13${EXTRACT_SUFX}
_PROFTPD_MODULE_MASTER_SITES= https://codeload.github.com/jbenden/mod_clamav/legacy.tar.gz/${GH_TAGNAME}?dummy=/:clamav
INCLUDEDIRS= ${LOCALBASE}/include
LIBDIRS= ${LOCALBASE}/lib
_BUILDING_PROFTPD_MODULE= ${PORTNAME}
post-extract:
@${CP} ${WRKDIR}/jbenden-mod_clamav-${GIT_REVISION}/mod_clamav.* ${WRKSRC}/contrib
.include "${MASTERDIR}/Makefile"