mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Stagify.
This commit is contained in:
parent
00a7a28311
commit
fb4f0f0bc1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364838
@ -17,12 +17,9 @@ USES= fortran
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
FFLAGS+= -fno-automatic
|
||||
|
||||
PORTDOCS= doc_en.pdf doc_ger.pdf install.pdf
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -E \
|
||||
@ -48,11 +45,9 @@ post-patch:
|
||||
${WRKSRC}/bin/sceptre
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/install.pdf ${DOCSDIR}
|
||||
cd ${WRKSRC}/doc ; ${INSTALL_DATA} ${PORTDOCS:Mdoc_*} ${DOCSDIR}
|
||||
.endif
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/install.pdf ${STAGEDIR}${DOCSDIR}
|
||||
cd ${WRKSRC}/doc ; ${INSTALL_DATA} ${PORTDOCS:Mdoc_*} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.if !defined(BATCH)
|
||||
check test: install
|
||||
@ -60,4 +55,4 @@ check test: install
|
||||
do ${WRKSRC}/bin/sceptre $${s%.d} ; done
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
35
cad/sceptre/files/patch-Makefile
Normal file
35
cad/sceptre/files/patch-Makefile
Normal file
@ -0,0 +1,35 @@
|
||||
--- Makefile.orig 2014-08-14 16:40:12.245403240 +0800
|
||||
+++ Makefile 2014-08-14 16:40:52.823402660 +0800
|
||||
@@ -35,19 +35,19 @@ all:
|
||||
cd x1; ${MAKE} "FC=${FC}" "FFLAGS=${FFLAGS}"
|
||||
cd x2; ${MAKE} "FC=${FC}" "FFLAGS=${FFLAGS}"
|
||||
install:
|
||||
- install -s -m 755 x1/exec1 ${BINDIR}
|
||||
- install -m 644 x2/exec2.o ${LIBDIR}
|
||||
- install -m 644 x2/libx2.a ${LIBDIR}
|
||||
- install -s -m 755 x3/ngp_gnu ${BINDIR}
|
||||
- install -s -m 755 x3/asa ${BINDIR}
|
||||
- install -m 644 x3/libx3.a ${LIBDIR}
|
||||
- install -m 755 bin/sceptre ${BINDIR}
|
||||
- install -m 755 bin/sceptre.inst ${BINDIR}
|
||||
- install -m 755 bin/ngp ${BINDIR}
|
||||
- install -m 644 lib/usrlib.a ${LIBDIR}
|
||||
- install -m 644 lib/modellib.dat ${LIBDIR}
|
||||
- install -d ${ETCDIR}
|
||||
- install -m 644 etc/ngp.rc ${ETCDIR}
|
||||
+ install -s -m 755 x1/exec1 $(DESTDIR)${BINDIR}
|
||||
+ install -m 644 x2/exec2.o $(DESTDIR)${LIBDIR}
|
||||
+ install -m 644 x2/libx2.a $(DESTDIR)${LIBDIR}
|
||||
+ install -s -m 755 x3/ngp_gnu $(DESTDIR)${BINDIR}
|
||||
+ install -s -m 755 x3/asa $(DESTDIR)${BINDIR}
|
||||
+ install -m 644 x3/libx3.a $(DESTDIR)${LIBDIR}
|
||||
+ install -m 755 bin/sceptre $(DESTDIR)${BINDIR}
|
||||
+ install -m 755 bin/sceptre.inst $(DESTDIR)${BINDIR}
|
||||
+ install -m 755 bin/ngp $(DESTDIR)${BINDIR}
|
||||
+ install -m 644 lib/usrlib.a $(DESTDIR)${LIBDIR}
|
||||
+ install -m 644 lib/modellib.dat $(DESTDIR)${LIBDIR}
|
||||
+ install -d $(DESTDIR)${ETCDIR}
|
||||
+ install -m 644 etc/ngp.rc $(DESTDIR)${ETCDIR}
|
||||
@echo "installation finished"
|
||||
uninstall:
|
||||
@rm -fv ${BINDIR}/exec1
|
Loading…
Reference in New Issue
Block a user