diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2014-02-26 04:57:04 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2014-02-26 04:57:04 +0000 |
commit | 462907efc55009c9de4a304a07a87aa1df2feddd (patch) | |
tree | fd480aa98ea2246077a4444d11e1a73959fad468 | |
parent | 17cb623cc1f62c141a6f0a97ffe8f3a0289d7708 (diff) | |
download | ports-462907efc55009c9de4a304a07a87aa1df2feddd.tar.gz ports-462907efc55009c9de4a304a07a87aa1df2feddd.zip |
- Stage support
Notes
Notes:
svn path=/head/; revision=346099
-rw-r--r-- | databases/sqlite2/Makefile | 10 | ||||
-rw-r--r-- | databases/sqlite2/files/patch-Makefile.in | 12 |
2 files changed, 10 insertions, 12 deletions
diff --git a/databases/sqlite2/Makefile b/databases/sqlite2/Makefile index 058e43447c98..6f09f19650f3 100644 --- a/databases/sqlite2/Makefile +++ b/databases/sqlite2/Makefile @@ -79,11 +79,9 @@ post-install: @(cd ${WRKSRC} && ${GMAKE} install-tcl) ${INSTALL_DATA} ${FILESDIR}/pkgIndex.tcl ${PREFIX}/lib/sqlite/ .endif -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR} -.endif - @${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${FILESDIR}/example.tcl ${EXAMPLESDIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR} + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${FILESDIR}/example.tcl ${STAGEDIR}${EXAMPLESDIR} .include <bsd.port.mk> diff --git a/databases/sqlite2/files/patch-Makefile.in b/databases/sqlite2/files/patch-Makefile.in index ef0acb3153d6..84aed7e33ea1 100644 --- a/databases/sqlite2/files/patch-Makefile.in +++ b/databases/sqlite2/files/patch-Makefile.in @@ -20,12 +20,12 @@ install: sqlite libsqlite.la sqlite.h $(INSTALL) -d $(DESTDIR)$(exec_prefix)/lib - $(LTINSTALL) libsqlite.la $(DESTDIR)$(exec_prefix)/lib -+ $(INSTALL) .libs/libsqlite.a $(exec_prefix)/lib -+ $(INSTALL) .libs/libsqlite.so $(exec_prefix)/lib -+ $(INSTALL) .libs/libsqlite.so.2 $(exec_prefix)/lib ++ $(INSTALL) .libs/libsqlite.a $(DESTDIR)$(exec_prefix)/lib ++ $(INSTALL) .libs/libsqlite.so $(DESTDIR)$(exec_prefix)/lib ++ $(INSTALL) .libs/libsqlite.so.2 $(DESTDIR)$(exec_prefix)/lib $(INSTALL) -d $(DESTDIR)$(exec_prefix)/bin - $(LTINSTALL) sqlite $(DESTDIR)$(exec_prefix)/bin -+ $(INSTALL) .libs/sqlite $(exec_prefix)/bin ++ $(INSTALL) .libs/sqlite $(DESTDIR)$(exec_prefix)/bin $(INSTALL) -d $(DESTDIR)$(prefix)/include $(INSTALL) -m 0644 sqlite.h $(DESTDIR)$(prefix)/include - $(INSTALL) -d $(DESTDIR)$(exec_prefix)/lib/pkgconfig; @@ -34,8 +34,8 @@ + $(INSTALL) -m 0644 sqlite.pc $(DESTDIR)/$(exec_prefix)/libdata/pkgconfig + +install-tcl: libtclsqlite.la -+ $(INSTALL) -d $(prefix)/lib/sqlite -+ $(INSTALL) .libs/libtclsqlite.so $(prefix)/lib/sqlite ++ $(INSTALL) -d $(DESTDIR)$(prefix)/lib/sqlite ++ $(INSTALL) .libs/libtclsqlite.so $(DESTDIR)$(prefix)/lib/sqlite clean: rm -f *.lo *.la *.o sqlite@TARGET_EXEEXT@ libsqlite.la sqlite.h opcodes.* |