aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-05-16 10:31:45 +0800
committervanilla <vanilla@FreeBSD.org>2014-05-16 10:31:45 +0800
commitb4c457690315bd2afbb1c302337eb1f8a81453b8 (patch)
tree8136db4aefae26c9247b17be89736628beba4a2c /databases
parent2197c8b0184e1e72b42edaaf37df429475fcd740 (diff)
downloadfreebsd-ports-gnome-b4c457690315bd2afbb1c302337eb1f8a81453b8.tar.gz
freebsd-ports-gnome-b4c457690315bd2afbb1c302337eb1f8a81453b8.tar.zst
freebsd-ports-gnome-b4c457690315bd2afbb1c302337eb1f8a81453b8.zip
Support STAGEDIR.
Diffstat (limited to 'databases')
-rw-r--r--databases/libsdb/Makefile4
-rw-r--r--databases/libsdb/files/patch-Makefiles_Other18
-rw-r--r--databases/libsdb/files/patch-config.in16
-rw-r--r--databases/libsdb/pkg-plist6
4 files changed, 25 insertions, 19 deletions
diff --git a/databases/libsdb/Makefile b/databases/libsdb/Makefile
index 5061db43d5ae..54364a638933 100644
--- a/databases/libsdb/Makefile
+++ b/databases/libsdb/Makefile
@@ -17,10 +17,6 @@ HAS_CONFIGURE= yes
MAKE_ARGS= PREFIX="${PREFIX}" CC="${CC}" CFLAGS="${CFLAGS}"
USE_LDCONFIG= yes
-MAN3= sdb.3 sdb_init.3 sdb_open.3 sdb_close.3 sdb_query.3
-MAN8= sdbd.8
-
PLIST_SUB= VERSION="${PORTVERSION}"
-NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/databases/libsdb/files/patch-Makefiles_Other b/databases/libsdb/files/patch-Makefiles_Other
index 2eb4c90a5aaa..057f0024d36c 100644
--- a/databases/libsdb/files/patch-Makefiles_Other
+++ b/databases/libsdb/files/patch-Makefiles_Other
@@ -1,6 +1,6 @@
---- Makefiles/Other.orig Tue Sep 13 00:26:50 2005
-+++ Makefiles/Other Tue Sep 13 00:27:45 2005
-@@ -24,16 +24,13 @@
+--- Makefiles/Other.orig 2008-04-30 16:38:02.000000000 +0800
++++ Makefiles/Other 2014-05-16 10:07:54.769419058 +0800
+@@ -24,18 +24,15 @@ $(STATICLIB): $(STATICOBJ)
$(SHAREDLIB): $(SHAREDOBJ)
rm -f $(SHAREDLIB)
@@ -15,8 +15,12 @@
- mkdir -p $(LIBDIR)
- cp $(SOVERSION) $(LIBDIR)
- cp $(STATICLIB) $(LIBDIR)
-+ $(BSD_INSTALL_PROGRAM) $(SOVERSION) $(LIBDIR)
-+ $(BSD_INSTALL_DATA) $(STATICLIB) $(LIBDIR)
- cd $(LIBDIR) && ln -s $(SOVERSION) $(SHAREDLIB)
- cd $(LIBDIR) && ln -s $(SOVERSION) $(SONAME)
+- cd $(LIBDIR) && ln -s $(SOVERSION) $(SHAREDLIB)
+- cd $(LIBDIR) && ln -s $(SOVERSION) $(SONAME)
++ $(BSD_INSTALL_PROGRAM) $(SOVERSION) $(DESTDIR)$(LIBDIR)
++ $(BSD_INSTALL_DATA) $(STATICLIB) $(DESTDIR)$(LIBDIR)
++ cd $(DESTDIR)$(LIBDIR) && ln -s $(SOVERSION) $(SHAREDLIB)
++ cd $(DESTDIR)$(LIBDIR) && ln -s $(SOVERSION) $(SONAME)
+ uninstall-lib:
+ cd $(LIBDIR) && rm -f $(SHAREDLIB) $(STATICLIB) $(SOVERSION) $(SONAME)
diff --git a/databases/libsdb/files/patch-config.in b/databases/libsdb/files/patch-config.in
index a25531be0eb7..061a3f3a490e 100644
--- a/databases/libsdb/files/patch-config.in
+++ b/databases/libsdb/files/patch-config.in
@@ -1,13 +1,13 @@
---- config.in.orig Sat Feb 19 01:20:21 2005
-+++ config.in Tue Sep 13 01:40:14 2005
-@@ -78,21 +78,22 @@
+--- config.in.orig 2008-04-30 16:38:02.000000000 +0800
++++ config.in 2014-05-16 10:25:15.024329118 +0800
+@@ -81,21 +81,22 @@ sdbd: sdbd.o sdb-config
$(CC) -I. -L. -lsdb $(LDFLAGS) -o $@ sdbd.o
install-man:
- mkdir -p $(MANDIR)/man3 && cp $(MAN3) $(MANDIR)/man3
- mkdir -p $(MANDIR)/man8 && cp $(MAN8) $(MANDIR)/man8
-+ $(BSD_INSTALL_MAN) $(MAN3) $(MANDIR)/man3
-+ $(BSD_INSTALL_MAN) $(MAN8) $(MANDIR)/man8
++ $(BSD_INSTALL_MAN) $(MAN3) $(DESTDIR)$(MANDIR)/man3
++ $(BSD_INSTALL_MAN) $(MAN8) $(DESTDIR)$(MANDIR)/man8
uninstall-man:
cd $(MANDIR)/man3 && rm -f $(MAN3)
@@ -15,15 +15,15 @@
install-prog: $(PROGS)
- mkdir -p $(BINDIR) && cp $(PROGS) $(BINDIR)
-+ $(BSD_INSTALL_PROGRAM) sdb_client sdbd_client sdbd $(BINDIR)
-+ $(BSD_INSTALL_SCRIPT) sdb-config $(BINDIR)
++ $(BSD_INSTALL_PROGRAM) sdb_client sdbd_client sdbd $(DESTDIR)$(BINDIR)
++ $(BSD_INSTALL_SCRIPT) sdb-config $(DESTDIR)$(BINDIR)
uninstall-prog:
cd $(BINDIR) && rm -f $(PROGS)
install-header:
- mkdir -p $(INCDIR) && cp $(HEADERS) $(INCDIR)
-+ $(BSD_INSTALL_DATA) $(HEADERS) $(INCDIR)
++ $(BSD_INSTALL_DATA) $(HEADERS) $(DESTDIR)$(INCDIR)
uninstall-header:
cd $(INCDIR) && rm -f $(HEADERS)
diff --git a/databases/libsdb/pkg-plist b/databases/libsdb/pkg-plist
index 32ba3e7f5504..8d870a1ccd4b 100644
--- a/databases/libsdb/pkg-plist
+++ b/databases/libsdb/pkg-plist
@@ -7,3 +7,9 @@ lib/libsdb.a
lib/libsdb.so
lib/libsdb.so.0
lib/libsdb.so.%%VERSION%%
+man/man3/sdb.3.gz
+man/man3/sdb_close.3.gz
+man/man3/sdb_init.3.gz
+man/man3/sdb_open.3.gz
+man/man3/sdb_query.3.gz
+man/man8/sdbd.8.gz