1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

Upgrade ports-mgmt/portsearch from 1.3.3 to 1.3.4

This commit is contained in:
Vasil Dimov 2014-10-24 06:31:47 +00:00
parent fc66776eca
commit 1d7eae2ef1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=371422
4 changed files with 16 additions and 18 deletions

View File

@ -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/

View File

@ -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

View File

@ -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"

View File

@ -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