aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-IO-stringy/Makefile
blob: e578c7cf48ed48b9077cfe8c5404751950cf018f (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
# New ports collection makefile for:    p5-IO-stringy
# Date created:             April 27 1998
# Whom:                     Eivind Eklund <eivind@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   IO-stringy
PORTVERSION=    2.108
CATEGORIES= devel perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= IO
PKGNAMEPREFIX=  p5-

MAINTAINER= shell@shellhung.org

PERL_CONFIGURE= YES

MAN3=       IO::AtomicFile.3 IO::InnerFile.3 IO::Lines.3 IO::Scalar.3 \
        IO::ScalarArray.3 IO::Stringy.3 \
        IO::Wrap.3 IO::WrapTie.3
MANPREFIX=  ${PREFIX}/lib/perl5/${PERL_VERSION}

# Install documentation
EG_DIR=     ${WRKSRC}/docs
EG_LOC=     ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}

.if !defined(NOPORTDOCS)
post-install:
    @${MKDIR} ${EG_LOC}/IO/icons
    ${INSTALL_DATA} ${EG_DIR}/IO/icons/*.gif ${EG_LOC}/IO/icons/
    ${INSTALL_DATA} ${EG_DIR}/IO/*.pm.html ${EG_LOC}/IO/
    ${INSTALL_DATA} ${EG_DIR}/index* ${EG_LOC}/
.endif

.include <bsd.port.mk>