2004-07-08 14:18:07 +02:00
|
|
|
# New Ports Collection Makefile for: p5-File-Modified
|
|
|
|
# Date created: 2004-07-08
|
|
|
|
# Whom: Anton Berezin <tobez@FreeBSD.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= File-Modified
|
2004-12-06 11:49:10 +01:00
|
|
|
PORTVERSION= 0.07
|
2004-10-15 00:16:20 +02:00
|
|
|
PORTREVISION= 1
|
2004-07-08 14:18:07 +02:00
|
|
|
CATEGORIES= devel perl5
|
2008-04-17 16:30:31 +02:00
|
|
|
MASTER_SITES= CPAN
|
2004-07-08 14:18:07 +02:00
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
|
|
COMMENT= Perl module for checking intelligently if files have changed
|
|
|
|
|
2004-10-15 00:16:20 +02:00
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1
|
2004-07-08 14:18:07 +02:00
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
|
|
|
|
MAN3= File::Modified.3
|
|
|
|
|
2004-12-06 11:49:10 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= Changes README bug.txt
|
|
|
|
EXAMPLES= example/1.pl example/Export.cfg example/Import.cfg
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${DOCSDIR} ${EXAMPLESDIR}
|
|
|
|
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
|
|
|
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
|
|
|
@${INSTALL_DATA} ${EXAMPLES:S|^|${WRKSRC}/|} ${EXAMPLESDIR}
|
|
|
|
@${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}."
|
|
|
|
.endif
|
|
|
|
|
2009-07-22 18:27:08 +02:00
|
|
|
.include <bsd.port.mk>
|