mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Stagify.
Approved by: portmgr@
This commit is contained in:
parent
d5b0fc1316
commit
168dfd58b7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358270
@ -15,7 +15,6 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
USES= gmake
|
||||
MAKEFILE= makefile
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch:
|
||||
@ -28,12 +27,12 @@ post-patch:
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/00*.txt ${DOCSDIR}/
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/00*.txt ${STAGEDIR}${DOCSDIR}/
|
||||
.endif
|
||||
.if !defined(NOPORTEXAMPLES)
|
||||
${MKDIR} ${EXAMPLESDIR}
|
||||
(cd ${WRKSRC}/demo && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}/)
|
||||
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
(cd ${WRKSRC}/demo && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}/)
|
||||
.endif
|
||||
|
||||
plist:
|
||||
|
22
math/fxt/files/patch-makefile
Normal file
22
math/fxt/files/patch-makefile
Normal file
@ -0,0 +1,22 @@
|
||||
--- makefile.orig 2014-06-18 20:52:27.430827185 +0800
|
||||
+++ makefile 2014-06-18 20:53:06.009833368 +0800
|
||||
@@ -127,13 +127,13 @@ install: lib
|
||||
: '[$@]'
|
||||
@echo 'PREFIX=$(PREFIX) LIBDIR=$(LIBDIR) INCDIR=$(INCDIR)'
|
||||
@:
|
||||
- @test -d $(INCDIR) || mkdir $(INCDIR)
|
||||
- @$(FXT_INSTALL) $(FXTIDIR)/*.h $(INCDIR)/
|
||||
- @cd src && for f in $(SHFXTSRCDIRS); do mkdir -p $(INCDIR)/$$f; done
|
||||
- @cd src && for f in $(SHFXTSRCDIRS); do $(FXT_INSTALL) $$f/*.h $(INCDIR)/$$f; done
|
||||
+ @test -d $(DESTDIR)$(INCDIR) || mkdir $(DESTDIR)$(INCDIR)
|
||||
+ @$(FXT_INSTALL) $(FXTIDIR)/*.h $(DESTDIR)$(INCDIR)/
|
||||
+ @cd src && for f in $(SHFXTSRCDIRS); do mkdir -p $(DESTDIR)$(INCDIR)/$$f; done
|
||||
+ @cd src && for f in $(SHFXTSRCDIRS); do $(FXT_INSTALL) $$f/*.h $(DESTDIR)$(INCDIR)/$$f; done
|
||||
@:
|
||||
- @test -d $(LIBDIR) || mkdir $(LIBDIR)
|
||||
- @$(FXT_INSTALL) $(FXTLIB) $(LIBDIR)/
|
||||
+ @test -d $(DESTDIR)$(LIBDIR) || mkdir $(DESTDIR)$(LIBDIR)
|
||||
+ @$(FXT_INSTALL) $(FXTLIB) $(DESTDIR)$(LIBDIR)/
|
||||
: OK.
|
||||
|
||||
.PHONY: chk-install ##x print whether installed header files are up to date
|
Loading…
Reference in New Issue
Block a user