summaryrefslogtreecommitdiffstats
path: root/devel/p5-IO-stringy/Makefile
blob: 83ac2bea737988067b74be3f01434a6bf6dea2b1 (plain)
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
# 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
COMMENT=	Perl5 module for using IO handles with non-file objects

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>
OpenPOWER on IntegriCloud