diff options
author | vanilla <vanilla@FreeBSD.org> | 2014-05-19 15:49:32 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2014-05-19 15:49:32 +0800 |
commit | 28d0695ceca0af686e43ebf204a85908c4797cd7 (patch) | |
tree | 326860c8ff6aa1da8123de202ab0f113dedc8982 /databases | |
parent | 817324e7e7fb63eb4832f87f757ed8ec182559ad (diff) | |
download | freebsd-ports-gnome-28d0695ceca0af686e43ebf204a85908c4797cd7.tar.gz freebsd-ports-gnome-28d0695ceca0af686e43ebf204a85908c4797cd7.tar.zst freebsd-ports-gnome-28d0695ceca0af686e43ebf204a85908c4797cd7.zip |
Support staging.
Approved by: portmgr@
Diffstat (limited to 'databases')
-rw-r--r-- | databases/dbow/Makefile | 3 | ||||
-rw-r--r-- | databases/dbow/files/patch-doc__Makefile | 10 | ||||
-rw-r--r-- | databases/dbow/files/patch-lib__Makefile | 15 | ||||
-rw-r--r-- | databases/dbow/files/patch-m4__Makefile | 13 | ||||
-rw-r--r-- | databases/dbow/files/patch-src__Makefile | 13 | ||||
-rw-r--r-- | databases/dbow/pkg-plist | 1 |
6 files changed, 52 insertions, 3 deletions
diff --git a/databases/dbow/Makefile b/databases/dbow/Makefile index b54c7fd4a8d3..53dcd0a84bf4 100644 --- a/databases/dbow/Makefile +++ b/databases/dbow/Makefile @@ -15,9 +15,6 @@ MAKE_ENV+= MYSQL_INC=${LOCALBASE}/include/mysql \ USE_MYSQL= yes -MAN1= dbow.1 - -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e "s|CFLAGS=|CFLAGS+=|g" \ -e "s|^MYSQL_INC=|MYSQL_INC?=|" \ diff --git a/databases/dbow/files/patch-doc__Makefile b/databases/dbow/files/patch-doc__Makefile new file mode 100644 index 000000000000..eaa4cb2240c2 --- /dev/null +++ b/databases/dbow/files/patch-doc__Makefile @@ -0,0 +1,10 @@ +--- ./doc/Makefile.orig 2014-05-19 15:47:03.978020008 +0800 ++++ ./doc/Makefile 2014-05-19 15:47:12.697019517 +0800 +@@ -52,6 +52,6 @@ + all: + + install: +- install -C -m 444 dbow.1 $(PREFIX)/man/man1 ++ install -C -m 444 dbow.1 $(DESTDIR)$(PREFIX)/man/man1 + + clean: diff --git a/databases/dbow/files/patch-lib__Makefile b/databases/dbow/files/patch-lib__Makefile new file mode 100644 index 000000000000..ee46be2c7eaf --- /dev/null +++ b/databases/dbow/files/patch-lib__Makefile @@ -0,0 +1,15 @@ +--- ./lib/Makefile.orig 2014-05-19 15:46:37.044025162 +0800 ++++ ./lib/Makefile 2014-05-19 15:46:56.903021030 +0800 +@@ -65,9 +65,9 @@ + all: $(DBOWLIB) + + install: dbow.h $(DBOWLIB) +- install -d $(DBOWDIR) +- install -C -m 444 dbow.h $(PREFIX)/include +- install -C -m 444 $(DBOWLIB) $(PREFIX)/lib ++ install -d $(DESTDIR)$(DBOWDIR) ++ install -C -m 444 dbow.h $(DESTDIR)$(PREFIX)/include ++ install -C -m 444 $(DBOWLIB) $(DESTDIR)$(PREFIX)/lib + + clean: + rm -f $(DBOWLIB) $(OBJS) a.out errs core diff --git a/databases/dbow/files/patch-m4__Makefile b/databases/dbow/files/patch-m4__Makefile new file mode 100644 index 000000000000..571507c6d0ba --- /dev/null +++ b/databases/dbow/files/patch-m4__Makefile @@ -0,0 +1,13 @@ +--- ./m4/Makefile.orig 2014-05-19 15:47:33.700018790 +0800 ++++ ./m4/Makefile 2014-05-19 15:47:43.063018434 +0800 +@@ -49,8 +49,8 @@ + all: $(M4FILES) + + install: $(M4FILES) +- install -d $(DBOWDIR) +- install -C -m 444 $(M4FILES) $(DBOWDIR) ++ install -d $(DESTDIR)$(DBOWDIR) ++ install -C -m 444 $(M4FILES) $(DESTDIR)$(DBOWDIR) + + clean: + diff --git a/databases/dbow/files/patch-src__Makefile b/databases/dbow/files/patch-src__Makefile new file mode 100644 index 000000000000..9d05b68d6172 --- /dev/null +++ b/databases/dbow/files/patch-src__Makefile @@ -0,0 +1,13 @@ +--- ./src/Makefile.orig 2014-05-19 15:46:08.154023124 +0800 ++++ ./src/Makefile 2014-05-19 15:46:24.766023465 +0800 +@@ -71,8 +71,8 @@ + all: dbow + + install: dbow +- install -d $(DBOWDIR) +- install -C -m 555 dbow $(PREFIX)/bin ++ install -d $(DESTDIR)$(DBOWDIR) ++ install -C -m 555 dbow $(DESTDIR)$(PREFIX)/bin + + clean: + rm -f dbow $(OBJS) y.tab.h a.out errs core diff --git a/databases/dbow/pkg-plist b/databases/dbow/pkg-plist index 36f6afc9fc8c..eac78cfff014 100644 --- a/databases/dbow/pkg-plist +++ b/databases/dbow/pkg-plist @@ -1,6 +1,7 @@ bin/dbow include/dbow.h lib/libdbow.a +man/man1/dbow.1.gz %%DATADIR%%/c.m4 %%DATADIR%%/mysql.m4 %%DATADIR%%/perl.m4 |