freebsd-ports/textproc/metaf2xml/Makefile

30 lines
697 B
Makefile

# 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>