597afc47ba
With hat: portmgr Sponsored by: Absolight
39 lines
968 B
Makefile
39 lines
968 B
Makefile
# Created by: Cyrille Lefevre <clefevre@citeweb.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= stow
|
|
PORTVERSION= 2.2.2
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= GNU
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
COMMENT= GNU version of Carnegie Mellon's "Depot" program
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
TEST_DEPENDS= p5-Test-Output>0: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= *
|
|
NO_ARCH= yes
|
|
|
|
do-install-DOCS-on:
|
|
@${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 <bsd.port.mk>
|