1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
Approved by:	portmgr@
This commit is contained in:
Vanilla I. Shu 2014-06-19 13:14:34 +00:00
parent 9deffedb6b
commit 3a9704f71c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358408
2 changed files with 7 additions and 8 deletions

View File

@ -15,7 +15,6 @@ COMMENT= X-12-ARIMA seasonal adjustment program
USES= fortran
NO_WRKSUBDIR= yes
MAKEFILE= makefile.lnx
NO_STAGE= yes
PLIST_FILES= bin/x12a
@ -27,8 +26,8 @@ DISTFILES+= docsv03.tar.gz
PORTDOCS= ReleaseNotesVersion03.pdf qref03unix.pdf x12adocV03.pdf
post-install:
@${MKDIR} ${DOCSDIR}
@(cd ${WRKSRC}/docs && ${INSTALL_MAN} ${PORTDOCS} ${DOCSDIR})
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@(cd ${WRKSRC}/docs && ${INSTALL_MAN} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
.endif
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
--- makefile.lnx.orig 2010-08-20 22:32:52.000000000 -0400
+++ makefile.lnx 2010-08-20 22:50:54.000000000 -0400
--- makefile.lnx.orig 2009-11-19 23:04:08.000000000 +0800
+++ makefile.lnx 2014-06-19 21:12:15.392802744 +0800
@@ -1,15 +1,11 @@
# MKMF template makefile for protected mode executables.
-FC = ifort
@ -18,7 +18,7 @@
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 @@
@@ -237,6 +233,8 @@ SRCS = aaamain.f abend.f acf.
xrgdiv.f xrgdrv.f xrgtrn.f xrlkhd.f xtrm.f \
yprmy.f yrly.f
@ -27,12 +27,12 @@
$(PROGRAM): $(OBJS) $(LIBS)
$(LINKER) -o $@ $(OBJS) $(LDMAP) $(LIBS) $(LDFLAGS)
@@ -244,7 +242,7 @@
@@ -244,7 +242,7 @@ clean:; @rm -f $(OBJS)
install: $(PROGRAM)
@echo Installing $(PROGRAM) in $(DEST)
- @if not $(DEST)x==.x copy $(PROGRAM) $(DEST)
+ @$(BSD_INSTALL_PROGRAM) $(PROGRAM) $(DEST)
+ @$(BSD_INSTALL_PROGRAM) $(PROGRAM) $(DESTDIR)$(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 \