summaryrefslogtreecommitdiffstats
path: root/devel/autodia/Makefile
blob: 36b8d627321b125bd9057cb054c31f5b64665399 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# ex:ts=8
# New ports collection makefile for:	autodia
# Date created:			Oct 6, 2001
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	autodia
PORTVERSION=	1.8
CATEGORIES=	devel perl5
MASTER_SITES=	http://droogs.org/autodia/download/
DISTNAME=	Autodia-${PORTVERSION}

MAINTAINER=	fernan@iib.unsam.edu.ar
COMMENT=	Automatic Dia XML - from Source Code and Data

BUILD_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Template.pm:${PORTSDIR}/www/p5-Template-Toolkit \
		${SITE_PERL}/Inline/Java.pm:${PORTSDIR}/devel/p5-Inline-Java \
		${SITE_PERL}/GraphViz.pm:${PORTSDIR}/graphics/p5-GraphViz \
		${SITE_PERL}/VCG.pm:${PORTSDIR}/graphics/p5-VCG \
		${SITE_PERL}/XML/Simple.pm:${PORTSDIR}/textproc/p5-XML-Simple
RUN_DEPENDS=	${BUILD_DEPENDS}

PERL_CONFIGURE=	yes

MAN3PREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3=	Autodia.3 autodia.3 autodia_java.3 \
	Autodia::Diagram.3 \
	Autodia::Diagram::Class.3 \
	Autodia::Diagram::Component.3 \
	Autodia::Handler.3 \
	Autodia::Handler::Cpp.3 \
	Autodia::Handler::DBI.3 \
	Autodia::Handler::PHP.3 \
	Autodia::Handler::Perl.3 \
	Autodia::Handler::SQL.3 \
	Autodia::Handler::Torque.3 \
	Autodia::Handler::dia.3

DOCS=	CHANGES COPYING CREDITS DEVELOP FAQ INSTALL MANIFEST README TODO

pre-install:
	@${RM} -f ${WRKSRC}/blib/man3/*.3pm

.if !defined(NOPORTDOCS)
post-install:
	@${MKDIR} ${DOCSDIR}
.for file in ${DOCS}
	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud