svn commit: r356069 - in head/benchmarks/dbench: . files
Olli Hauer
ohauer at FreeBSD.org
Sun Jun 1 09:34:54 UTC 2014
Author: ohauer
Date: Sun Jun 1 09:34:52 2014
New Revision: 356069
URL: http://svnweb.freebsd.org/changeset/ports/356069
QAT: https://qat.redports.org/buildarchive/r356069/
Log:
- add stage support
Added:
head/benchmarks/dbench/files/patch-Makefile.in (contents, props changed)
Modified:
head/benchmarks/dbench/Makefile
head/benchmarks/dbench/pkg-plist
Modified: head/benchmarks/dbench/Makefile
==============================================================================
--- head/benchmarks/dbench/Makefile Sun Jun 1 09:10:37 2014 (r356068)
+++ head/benchmarks/dbench/Makefile Sun Jun 1 09:34:52 2014 (r356069)
@@ -21,12 +21,7 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS+=--datadir=${DATADIR}
-MAN1= dbench.1
-MLINKS= dbench.1 tbench.1 dbench.1 tbench_srv.1
-
-NO_STAGE= yes
-post-patch:
- @${REINPLACE_CMD} -e 's,$$(mandir),$$(mandir)/man1,' \
- ${WRKSRC}/Makefile.in
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
.include <bsd.port.mk>
Added: head/benchmarks/dbench/files/patch-Makefile.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/benchmarks/dbench/files/patch-Makefile.in Sun Jun 1 09:34:52 2014 (r356069)
@@ -0,0 +1,21 @@
+--- ./Makefile.in.orig 2014-06-01 10:35:20.000000000 +0200
++++ ./Makefile.in 2014-06-01 10:36:46.000000000 +0200
+@@ -32,12 +32,12 @@
+
+ # Careful here: don't install client.txt over itself.
+ install: all
+- ${INSTALLCMD} -d $(bindir) $(datadir) $(mandir)
+- ${INSTALLCMD} dbench tbench tbench_srv $(bindir)
+- ${INSTALLCMD} client.txt $(datadir)
+- ${INSTALLCMD} -m644 dbench.1 $(mandir)
+- ln -sf dbench.1 $(mandir)/tbench.1
+- ln -sf dbench.1 $(mandir)/tbench_srv.1
++ ${INSTALLCMD} -d $(DESTDIR)$(bindir) $(DESTDIR)$(datadir) $(DESTDIR)$(mandir)/man1
++ ${INSTALLCMD} dbench tbench tbench_srv $(DESTDIR)$(bindir)
++ ${INSTALLCMD} client.txt $(DESTDIR)$(datadir)
++ ${INSTALLCMD} -m644 dbench.1 $(DESTDIR)$(mandir)/man1
++ ln -sf dbench.1 $(DESTDIR)$(mandir)/man1/tbench.1
++ ln -sf dbench.1 $(DESTDIR)$(mandir)/man1/tbench_srv.1
+
+ clean:
+ rm -f *.o *~ dbench tbench tbench_srv
Modified: head/benchmarks/dbench/pkg-plist
==============================================================================
--- head/benchmarks/dbench/pkg-plist Sun Jun 1 09:10:37 2014 (r356068)
+++ head/benchmarks/dbench/pkg-plist Sun Jun 1 09:34:52 2014 (r356069)
@@ -1,5 +1,8 @@
bin/dbench
bin/tbench
bin/tbench_srv
+man/man1/dbench.1.gz
+man/man1/tbench.1.gz
+man/man1/tbench_srv.1.gz
%%DATADIR%%/client.txt
@dirrm %%DATADIR%%
More information about the svn-ports-all
mailing list