aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/metaf2xml/Makefile
blob: 01a4128c42fcbca8abf7715ce8d0eec2b8a8b036 (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
# New ports collection makefile for:    metaf2xml
# Date created:     2006-08-11
# Whom:         Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#

PORTNAME=   metaf2xml
PORTVERSION=    1.35
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
USE_PERL5_RUN=  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>