summaryrefslogtreecommitdiff
path: root/textproc/metaf2xml/Makefile
blob: c1cda78ac6e71a2f1f432fc87de01228b4b3dfff (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
# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD$

PORTNAME=	metaf2xml
PORTVERSION=	1.42
CATEGORIES=	textproc
MASTER_SITES=	SF
EXTRACT_SUFX=	.tgz

MAINTAINER=	clsung@FreeBSD.org
COMMENT=	Parses METAR, TAF, and SYNOP messages and stores the components in XML

MAKE_ARGS=	CGI_BIN_DIR=${PREFIX}/www/metaf2xml/cgi-bin \
		HTDOCS_DIR=${PREFIX}/www/metaf2xml/htdocs \
		METAF2XML=${PREFIX} \
		METAF2XML_LIB=${PREFIX}/${SITE_PERL_REL} \
		METAF2XML_XSL=${DATADIR}
NO_BUILD=	yes
USES=		perl5
USE_PERL5=	run

NO_STAGE=	yes
pre-install:
	${MKDIR} ${PREFIX}/www/metaf2xml/cgi-bin \
		${PREFIX}/www/metaf2xml/htdocs

do-install:
	cd ${WRKSRC}; ${MAKE} ${MAKE_ARGS} install-all

.include <bsd.port.mk>