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

PORTNAME=   metaf2xml
PORTVERSION=    1.26
CATEGORIES= textproc
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
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>