mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
Support STAGEDIR.
This commit is contained in:
parent
3c4dd03db1
commit
0af4b3ca87
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354186
@ -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>
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user