aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/metaf2xml/Makefile
blob: 0718f6db77dcc2aa3c485b272ed4d1151a947836 (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.21
CATEGORIES= textproc
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
EXTRACT_SUFX=   .tgz

MAINTAINER= clsung@FreeBSD.org
COMMENT=    Parses and decodes aviation routine and stores the components in XML

MAKE_ARGS=  CGI_BIN_DIR=${TARGETDIR}/www/metaf2xml/cgi-bin \
        HTDOCS_DIR=${TARGETDIR}/www/metaf2xml/htdocs \
        METAF2XML=${TARGETDIR} \
        METAF2XML_LIB=${TARGETDIR}/${SITE_PERL_REL} \
        METAF2XML_XSL=${DATADIR}
NO_BUILD=   yes
USE_PERL5_RUN=  yes

pre-install:
    ${MKDIR} ${TARGETDIR}/www/metaf2xml/cgi-bin \
        ${TARGETDIR}/www/metaf2xml/htdocs

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

.include <bsd.port.mk>