08f77ae3d2
Submitted by: pointyhat via kris
38 lines
1 KiB
Makefile
38 lines
1 KiB
Makefile
# New ports collection makefile for: LMAP-CID2SPF
|
|
# Date Created: 2006-11-03
|
|
# Whom: Shaun Amott <shaun@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= LMAP-CID2SPF
|
|
DISTVERSION= 0.9
|
|
CATEGORIES= mail perl5
|
|
MASTER_SITES= http://www.baschny.de/spf/ \
|
|
http://mirror.inerd.com/FreeBSD/distfiles/p5-LMAP-CID2SPF/
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= shaun@FreeBSD.org
|
|
COMMENT= Module to convert between Microsoft's Caller-ID and SPF #'
|
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
|
|
|
|
USE_PERL5= yes
|
|
PERL_CONFIGURE= yes
|
|
CONFIGURE_SCRIPT=Makefile.PL
|
|
|
|
PLIST_FILES+= bin/cid2spf %%SITE_PERL%%/LMAP/CID2SPF.pm
|
|
PLIST_FILES+= "@unexec rmdir %D/%%SITE_PERL%%/LMAP 2>/dev/null || true"
|
|
|
|
do-install:
|
|
@${MKDIR} ${SITE_PERL}/LMAP
|
|
cd ${WRKSRC} && ${INSTALL_SCRIPT} cid2spf ${PREFIX}/bin
|
|
cd ${WRKSRC} && ${INSTALL_DATA} CID2SPF.pm ${SITE_PERL}/LMAP
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} < 500600
|
|
IGNORE= requires Perl 5.6 or newer. Install lang/perl5.8 and try again
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|