# Created by: Cyrille Lefevre # $FreeBSD$ PORTNAME= stow PORTVERSION= 2.2.0 PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= GNU MAINTAINER= 5u623l20@gmail.com COMMENT= GNU version of Carnegie Mellon's "Depot" program LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING TEST_DEPENDS= p5-Test-Output>0:${PORTSDIR}/devel/p5-Test-Output USES= gmake perl5 tar:bzip2 GNU_CONFIGURE= yes CONFIGURE_ENV= ac_cv_path_PERL=${PERL} INSTALL_TARGET= install-exec-am install-dist_pmstowDATA install-info-am \ install-man install-pmDATA OPTIONS_DEFINE= DOCS INFO= stow PORTDOCS= * post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for FILE in ChangeLog README ${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR} .endfor .for FILE in ChangeLog.OLD manual-single.html manual.pdf version.texi ${INSTALL_DATA} ${WRKSRC}/doc/${FILE} ${STAGEDIR}${DOCSDIR} .endfor @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} manual-split ${STAGEDIR}${DOCSDIR}) .include