bb5196a149
variables deprecation revision WITHOUT_NLS 2013-12-13 r336337 WITH_/WITHOUT_ 2014-02-24 r345870 NOPORT(DOC|EXAMPLE)S 2014-04-19 r351587 WITH_BDB_VER 2016-05-02 r414444 OVERRIDE_LINUX_BASE_PORT 2016-09-05 r421387 WITH_OPENSSL_(BASE|PORT) 2016-06-16 r416965 While there, add an ERROR variable that works like DEV_ERROR, but for user facing errors, and move NOPORTDOCS, NOPORTEXAMPLES and WITHOUT_NLS to it. Cleanup bsd.sanity.mk a bit. Fix fallout. PR: 224613 Submitted by: mat Exp-run by: antoine Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D13490
33 lines
836 B
Makefile
33 lines
836 B
Makefile
# Created by: Gary Hayers <Gary@Hayers.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= SAVI-Perl
|
|
PORTVERSION= 0.30
|
|
PORTREVISION= 6
|
|
CATEGORIES= security perl5
|
|
MASTER_SITES= http://www.csupomona.edu/~henson/archive/projects/SAVI-Perl/dist/
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= pi@FreeBSD.org
|
|
COMMENT= Perl5 module interface to Sophos AntiVirus
|
|
|
|
USES= perl5
|
|
USE_PERL5= configure
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if exists(${PREFIX}/lib/libsavi.so.3) && !exists(${PREFIX}/lib/libsavi.so)
|
|
FAKELIBDIR=${WRKDIR}/lib
|
|
CONFIGURE_ARGS+=LDDLFLAGS='-shared -L ${FAKELIBDIR}'
|
|
.elif !exists(${PREFIX}/lib/libsavi.so)
|
|
IGNORE= Sophos Anti-Virus needs to be installed (see pkg-descr)
|
|
.endif
|
|
|
|
.if defined(FAKELIBDIR)
|
|
pre-configure:
|
|
${MKDIR} ${FAKELIBDIR}
|
|
${LN} -s ${PREFIX}/lib/libsavi.so.3 ${FAKELIBDIR}/libsavi.so
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|