aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/stow/Makefile
blob: ea56accabf19a74d04bbd9bb3330c2b1a8fbed7e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# ex:ts=8
# Ports collection makefile for:  stow
# Date created:           6 June 2000
# Whom:               Cyrille Lefevre <clefevre@citeweb.net>
#
# $FreeBSD$
#

PORTNAME=   stow
PORTVERSION=    2.2.0
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

USE_BZIP2=  yes
USES=       perl5
USE_GMAKE=  yes
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

MAN8=       stow.8
INFO=       stow
PORTDOCS=   *
PLIST_FILES=    bin/chkstow \
        bin/stow \
        %%SITE_PERL%%/Stow.pm \
        %%SITE_PERL%%/Stow/Util.pm
PLIST_DIRS= %%SITE_PERL%%/Stow

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for FILE in ChangeLog README
    ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
.endfor
.for FILE in ChangeLog.OLD manual-single.html manual.pdf version.texi
    ${INSTALL_DATA} ${WRKSRC}/doc/${FILE} ${DOCSDIR}
.endfor
    @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} manual-split ${DOCSDIR})
.endif

.include <bsd.port.mk>