aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt
diff options
context:
space:
mode:
authorbeech <beech@FreeBSD.org>2008-01-29 23:58:35 +0800
committerbeech <beech@FreeBSD.org>2008-01-29 23:58:35 +0800
commita8718a97aa00fa42a128ceb92aa801de31e1f606 (patch)
tree173485a3e9507e9dd7014304d89712f55f6cfac3 /ports-mgmt
parent0ef9052fea5a6dc336a79f06df5f1276ad91378c (diff)
downloadfreebsd-ports-gnome-a8718a97aa00fa42a128ceb92aa801de31e1f606.tar.gz
freebsd-ports-gnome-a8718a97aa00fa42a128ceb92aa801de31e1f606.tar.zst
freebsd-ports-gnome-a8718a97aa00fa42a128ceb92aa801de31e1f606.zip
- Update to 1.0.5
- Patch to make port respect prefix. PR: ports/120106 Submitted by: Diego Rocha <diegorocha1987@gmail.com> (maintainer)
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/pkgsearch/Makefile24
-rw-r--r--ports-mgmt/pkgsearch/distinfo6
2 files changed, 20 insertions, 10 deletions
diff --git a/ports-mgmt/pkgsearch/Makefile b/ports-mgmt/pkgsearch/Makefile
index 7a652504abbf..2f98bfe610f3 100644
--- a/ports-mgmt/pkgsearch/Makefile
+++ b/ports-mgmt/pkgsearch/Makefile
@@ -1,15 +1,14 @@
-# New ports collection makefile for: Diego_Rocha
+# New ports collection makefile for: pkgsearch
# Date created: 14 September 2007
-# Whom: Diego_Rocha
+# Whom: Diego_Rocha <diegorocha1987@gmail.com>
#
# $FreeBSD$
#
PORTNAME= pkgsearch
-PORTVERSION= 1.0.4
+PORTVERSION= 1.0.5
CATEGORIES= ports-mgmt
-MASTER_SITES= http://dl.sharesource.org/${PORTNAME}/ \
- http://andsux.homeip.net/~diego/stable/
+MASTER_SITES= http://dl.sharesource.org/${PORTNAME}/
MAINTAINER= diegorocha1987@gmail.com
COMMENT= Find your packages in ports and installed packages
@@ -17,8 +16,6 @@ COMMENT= Find your packages in ports and installed packages
BUILD_DEPENDS= cmake:${PORTSDIR}/devel/cmake
LIB_DEPENDS= boost_filesystem:${PORTSDIR}/devel/boost
-USE_PGSQL= yes
-
WRKSRC= ${WRKDIR}/${DISTNAME}-build
PLIST_FILES= sbin/pkgsearch etc/pkgsearch.conf
@@ -29,6 +26,10 @@ MANCOMPRESSED= yes
post-extract:
${MKDIR} ${WRKSRC}
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/local/|${PREFIX}/|' \
+ ${WRKDIR}/${PORTNAME}-${PORTVERSION}/CMakeLists.txt
+
do-configure:
@${CP} ${WRKDIR}/${DISTNAME}/pkgsearch.* ${WRKSRC}
@cd ${WRKSRC}; \
@@ -37,4 +38,13 @@ do-configure:
post-build:
@${GZIP_CMD} ${WRKDIR}/${DISTNAME}/pkgsearch.*
+post-install:
+ @${ECHO_CMD} "=================================================="
+ @${ECHO_CMD} " Important information"
+ @${ECHO_CMD} ""
+ @${ECHO_CMD} " After the instalation configure your"
+ @${ECHO_CMD} " pkgsearch.conf in ${PREFIX}/etc/pkgsearch"
+ @${ECHO_CMD} " to more information see pkgsearch.conf(5)"
+ @${ECHO_CMD} "=================================================="
+
.include <bsd.port.mk>
diff --git a/ports-mgmt/pkgsearch/distinfo b/ports-mgmt/pkgsearch/distinfo
index 3df5c2f18f6a..e1073660e8a9 100644
--- a/ports-mgmt/pkgsearch/distinfo
+++ b/ports-mgmt/pkgsearch/distinfo
@@ -1,3 +1,3 @@
-MD5 (pkgsearch-1.0.4.tar.gz) = 945a4f7fead6b0c12723ee0ffaa5a45b
-SHA256 (pkgsearch-1.0.4.tar.gz) = 8a58e2bb98f71b57dda87165a0811ffe2d4bcb7cac44d6cd1682962386880390
-SIZE (pkgsearch-1.0.4.tar.gz) = 47434
+MD5 (pkgsearch-1.0.5.tar.gz) = 6de632ba11cd7c363f16ee331637c760
+SHA256 (pkgsearch-1.0.5.tar.gz) = 15b35d23ca06af4cec2dc8fb7caeb622a37908bfb3fe073b8cfcae967b3ae75a
+SIZE (pkgsearch-1.0.5.tar.gz) = 11756