summaryrefslogtreecommitdiff
path: root/math/x12arima/Makefile
blob: ae3f4063b5c01f186a48d7c8a69fa96dd2a52824 (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
34
35
36
37
# Created by: jh@jameshoward.us
# $FreeBSD$

PORTNAME=	x12arima
PORTVERSION=	0.3
PORTREVISION=	2
CATEGORIES=	math finance
MASTER_SITES=	http://www.census.gov/ts/x12a/v03/unix/
DISTFILES=	omegav03src.tar.gz
DIST_SUBDIR=	${PORTNAME}

MAINTAINER=	jh@jameshoward.us
COMMENT=	X-12-ARIMA seasonal adjustment program

USES=		fortran
NO_WRKSUBDIR=	yes
MAKEFILE=	makefile.lnx

PLIST_FILES=	bin/x12a

OPTIONS_DEFINE=	DOCS

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MDOCS} || make(makesum)
DISTFILES+=	docsv03.tar.gz
.endif

PORTDOCS=	ReleaseNotesVersion03.pdf qref03unix.pdf x12adocV03.pdf

.if ${PORT_OPTIONS:MDOCS}
post-install:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	@(cd ${WRKSRC}/docs && ${INSTALL_MAN} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})

.endif
.include <bsd.port.mk>