diff options
author | vd <vd@FreeBSD.org> | 2014-10-24 14:31:47 +0800 |
---|---|---|
committer | vd <vd@FreeBSD.org> | 2014-10-24 14:31:47 +0800 |
commit | d197a0b63159796d6e6f8d7489f697c2b9242aa7 (patch) | |
tree | 645653a5479b9ff6f78c4885cd28654f0187687b /ports-mgmt | |
parent | 17763cc86ebebcac5f91858a0c17c595029a944e (diff) | |
download | freebsd-ports-gnome-d197a0b63159796d6e6f8d7489f697c2b9242aa7.tar.gz freebsd-ports-gnome-d197a0b63159796d6e6f8d7489f697c2b9242aa7.tar.zst freebsd-ports-gnome-d197a0b63159796d6e6f8d7489f697c2b9242aa7.zip |
Upgrade ports-mgmt/portsearch from 1.3.3 to 1.3.4
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/portsearch/Makefile | 2 | ||||
-rw-r--r-- | ports-mgmt/portsearch/distinfo | 4 | ||||
-rw-r--r-- | ports-mgmt/portsearch/files/patch-Makefile | 15 | ||||
-rw-r--r-- | ports-mgmt/portsearch/pkg-install | 13 |
4 files changed, 16 insertions, 18 deletions
diff --git a/ports-mgmt/portsearch/Makefile b/ports-mgmt/portsearch/Makefile index 34a29be6e326..3ddaa7b83782 100644 --- a/ports-mgmt/portsearch/Makefile +++ b/ports-mgmt/portsearch/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= portsearch -PORTVERSION= 1.3.3 +PORTVERSION= 1.3.4 CATEGORIES= ports-mgmt MASTER_SITES= ${MASTER_SITE_LOCAL} \ http://people.freebsd.org/~vd/portsearch/ diff --git a/ports-mgmt/portsearch/distinfo b/ports-mgmt/portsearch/distinfo index d9b049f607ab..28753c2807a0 100644 --- a/ports-mgmt/portsearch/distinfo +++ b/ports-mgmt/portsearch/distinfo @@ -1,2 +1,2 @@ -SHA256 (portsearch-1.3.3.tar.gz) = e82aec52bde4f2b9c6d96cdd19a2a29eff32da194e2095f11f2ed14a2bc386d2 -SIZE (portsearch-1.3.3.tar.gz) = 20751 +SHA256 (portsearch-1.3.4.tar.gz) = dd1c8be63c35c6193aaa344d79b04c9fb5b3c40fa19bee061fdd55778ff6a208 +SIZE (portsearch-1.3.4.tar.gz) = 55653 diff --git a/ports-mgmt/portsearch/files/patch-Makefile b/ports-mgmt/portsearch/files/patch-Makefile deleted file mode 100644 index e2b02be24174..000000000000 --- a/ports-mgmt/portsearch/files/patch-Makefile +++ /dev/null @@ -1,15 +0,0 @@ ---- Makefile.orig 2014-06-24 23:40:10.656628805 +0800 -+++ Makefile 2014-06-24 23:40:32.926628413 +0800 -@@ -15,9 +15,9 @@ ${target}: - all: build - - install: build -- ${INSTALL_PROGRAM} src/portsearch ${PREFIX}/bin/ -- ${MKDIR} ${DATADIR} -- ${INSTALL_DATA} Mk/Makefile ${DATADIR}/ -+ ${BSD_INSTALL_PROGRAM} src/portsearch $(DESTDIR)${PREFIX}/bin/ -+ ${MKDIR} $(DESTDIR)${DATADIR} -+ ${BSD_INSTALL_DATA} Mk/Makefile $(DESTDIR)${DATADIR}/ - - .include "Makefile.var" - diff --git a/ports-mgmt/portsearch/pkg-install b/ports-mgmt/portsearch/pkg-install new file mode 100644 index 000000000000..87370f7965e3 --- /dev/null +++ b/ports-mgmt/portsearch/pkg-install @@ -0,0 +1,13 @@ +#!/bin/sh + +if [ "${2}" = "POST-INSTALL" ] ; then + db_prefix="/var/db/portsearch" + arch=`uname -m` + db_old="${db_prefix}/1-${arch}" + if [ -d "${db_old}" ] ; then + rel=`uname -r` + mv -f "${db_old}" "${db_prefix}/${rel%%.*}-${arch}" + fi +fi + +# EOF |