1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00

Add x12arima 0.3, x-12-ARIMA seasonal adjustment program.

PR:		ports/148098
Submitted by:	jh at jameshoward.us
Approved by:	makc (co-mentor)
This commit is contained in:
Brendan Fabeny 2010-08-21 16:04:45 +00:00
parent 0f7c65f788
commit ec798d26fc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=259688
5 changed files with 85 additions and 0 deletions

View File

@ -551,6 +551,7 @@
SUBDIR += wingz3
SUBDIR += wmcalc
SUBDIR += wxMaxima
SUBDIR += x12arima
SUBDIR += xgfe
SUBDIR += xgobi
SUBDIR += xgraph

35
math/x12arima/Makefile Normal file
View File

@ -0,0 +1,35 @@
# New ports collection makefile for: x12arima
# Date created: 22 June 2010
# Whom: jh@jameshoward.us
#
# $FreeBSD$
PORTNAME= x12arima
PORTVERSION= 0.3
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
USE_FORTRAN= yes
NO_WRKSUBDIR= yes
MAKEFILE= makefile.lnx
PLIST_FILES= bin/x12a
.ifndef(NOPORTDOCS) || make(makesum)
DISTFILES+= docsv03.tar.gz
.endif
.ifndef(NOPORTDOCS)
PORTDOCS= ReleaseNotesVersion03.pdf qref03unix.pdf x12adocV03.pdf
post-install:
@${MKDIR} ${DOCSDIR}
@(cd ${WRKSRC}/docs && ${INSTALL_MAN} ${PORTDOCS} ${DOCSDIR})
.endif
.include <bsd.port.mk>

6
math/x12arima/distinfo Normal file
View File

@ -0,0 +1,6 @@
MD5 (x12arima/omegav03src.tar.gz) = fdce15944411d9388fc61da1a10580e1
SHA256 (x12arima/omegav03src.tar.gz) = ca818383da41205ebaa9542a59d4b89c95ad700bc1a7082bb64f7cb25c696a0a
SIZE (x12arima/omegav03src.tar.gz) = 713633
MD5 (x12arima/docsv03.tar.gz) = 9b45e5d63db6c46b1f3165a77b26cce1
SHA256 (x12arima/docsv03.tar.gz) = 7257576da496446c3ce5f12f97915b23435b7b7663dc0e606660655250bf5aad
SIZE (x12arima/docsv03.tar.gz) = 1634680

View File

@ -0,0 +1,38 @@
--- makefile.lnx.orig 2010-08-20 22:32:52.000000000 -0400
+++ makefile.lnx 2010-08-20 22:50:54.000000000 -0400
@@ -1,15 +1,11 @@
# MKMF template makefile for protected mode executables.
-FC = ifort
-LINKER = ifort
+LINKER = $(FC)
PROGRAM = x12a
-DEST = .
+DEST = $(PREFIX)/bin
EXTHDRS =
-FFLAGS =
HDRS =
-LDFLAGS =
LDMAP =
LIBS =
-MAKEFILE = Makefile
OBJS = aaamain.o abend.o acf.o acfar.o acfdgn.o \
acfhdr.o addadj.o addaic.o addate.o addfix.o \
addmul.o addotl.o addsef.o addsub.o addusr.o \
@@ -237,6 +233,8 @@
xrgdiv.f xrgdrv.f xrgtrn.f xrlkhd.f xtrm.f \
yprmy.f yrly.f
+all: $(PROGRAM)
+
$(PROGRAM): $(OBJS) $(LIBS)
$(LINKER) -o $@ $(OBJS) $(LDMAP) $(LIBS) $(LDFLAGS)
@@ -244,7 +242,7 @@
install: $(PROGRAM)
@echo Installing $(PROGRAM) in $(DEST)
- @if not $(DEST)x==.x copy $(PROGRAM) $(DEST)
+ @$(BSD_INSTALL_PROGRAM) $(PROGRAM) $(DEST)
### OPUS MKMF: Do not remove this line! Automatic dependencies follow.
aaamain.o: build.prm cchars.i chrt.cmn error.cmn hiddn.cmn lex.i \

5
math/x12arima/pkg-descr Normal file
View File

@ -0,0 +1,5 @@
X-12-ARIMA is seasonal adjustment software produced, distributed,
and maintained by the U.S. Census Bureau, where it is used for
all official seasonal adjustments.
WWW: http://www.census.gov/srd/www/x12a/