1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
Approved by:	portmgr@
This commit is contained in:
Vanilla I. Shu 2014-06-18 13:03:49 +00:00
parent d5b0fc1316
commit 168dfd58b7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358270
2 changed files with 26 additions and 5 deletions

View File

@ -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:

View 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