1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/mail/p5-Clamd/Makefile
Philip M. Gollucci 62bc98e8b7 - Fix Build with custom LOCALBASE/PREFIX
Reported by:    QATty
2009-06-19 04:30:33 +00:00

37 lines
841 B
Makefile

# New ports collection makefile for: p5-Clamd
# Date created: 23 December 2008
# Whom: pgollucci@p6m7g8.com
#
# $FreeBSD$
#
PORTNAME= Clamd
PORTVERSION= 1.04
PORTREVISION= 1
CATEGORIES= mail perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= ../by-authors/id/M/MS/MSERGEANT
PKGNAMEPREFIX= p5-
MAINTAINER= pgollucci@FreeBSD.org
COMMENT= Clamd - Connect to a local clamd service and send commands
RUN_DEPENDS= clamd:${PORTSDIR}/security/clamav
BUILD_DEPENDS= ${RUN_DEPENDS}
MAKE_JOBS_SAFE= yes
MAN3= Clamd.3
PERL_CONFIGURE= yes
PLIST_FILES= %%SITE_PERL%%/Clamd.pm \
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Clamd/.packlist
PLIST_DIRS= %%SITE_PERL%%/%%PERL_ARCH%%/auto/Clamd
post-patch:
@${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' ${WRKSRC}/Makefile.PL
.include <bsd.port.mk>