diff options
author | vanilla <vanilla@FreeBSD.org> | 2014-06-18 21:03:49 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2014-06-18 21:03:49 +0800 |
commit | a5fe67ccdd5cfb19ec02cbfd50a4d9634bbd74ca (patch) | |
tree | fbb86edf657eb2b5429f05b02a13702062f3cad0 /math | |
parent | 2f9e36545934c2a18e9666485ac613c19e88def5 (diff) | |
download | freebsd-ports-gnome-a5fe67ccdd5cfb19ec02cbfd50a4d9634bbd74ca.tar.gz freebsd-ports-gnome-a5fe67ccdd5cfb19ec02cbfd50a4d9634bbd74ca.tar.zst freebsd-ports-gnome-a5fe67ccdd5cfb19ec02cbfd50a4d9634bbd74ca.zip |
Stagify.
Approved by: portmgr@
Diffstat (limited to 'math')
-rw-r--r-- | math/fxt/Makefile | 9 | ||||
-rw-r--r-- | math/fxt/files/patch-makefile | 22 |
2 files changed, 26 insertions, 5 deletions
diff --git a/math/fxt/Makefile b/math/fxt/Makefile index 84c568c46bb9..ab821e469cdf 100644 --- a/math/fxt/Makefile +++ b/math/fxt/Makefile @@ -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: diff --git a/math/fxt/files/patch-makefile b/math/fxt/files/patch-makefile new file mode 100644 index 000000000000..293d5c5a2516 --- /dev/null +++ b/math/fxt/files/patch-makefile @@ -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 |