30 lines
780 B
Makefile
30 lines
780 B
Makefile
# Created by: Anton Berezin <tobez@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= File-Modified
|
|
PORTVERSION= 0.07
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
COMMENT= Perl module for checking intelligently if files have changed
|
|
|
|
BUILD_DEPENDS= p5-Digest-SHA1>=0:${PORTSDIR}/security/p5-Digest-SHA1
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
USES= perl5
|
|
USE_PERL5= configure
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
PORTDOCS= Changes README bug.txt
|
|
EXAMPLES= example/1.pl example/Export.cfg example/Import.cfg
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${EXAMPLES:S|^|${WRKSRC}/|} ${STAGEDIR}${EXAMPLESDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|