mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
df19c79522
Pointed out by: bapt
40 lines
979 B
Makefile
40 lines
979 B
Makefile
# Created by: Cyrille Lefevre <clefevre@citeweb.net>
|
|
# $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 <bsd.port.mk>
|