mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
6d2e8f9aeb
Approved by: bapt
40 lines
977 B
Makefile
40 lines
977 B
Makefile
# Created by: Cyrille Lefevre <clefevre@citeweb.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= stow
|
|
PORTVERSION= 2.2.0
|
|
PORTREVISION= 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:${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 <bsd.port.mk>
|