aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/pkgsearch
diff options
context:
space:
mode:
authorBeech Rintoul <beech@FreeBSD.org>2008-01-29 15:58:35 +0000
committerBeech Rintoul <beech@FreeBSD.org>2008-01-29 15:58:35 +0000
commite15a18575aaf481edd70a5766b19ea3cd323806f (patch)
tree1b48818ec8f584c64a95e8e6bb56dbdfbe5dd3cc /ports-mgmt/pkgsearch
parent0e10ca7012a5ca7be3ae32bcf5f63d380e08f794 (diff)
downloadports-e15a18575aaf481edd70a5766b19ea3cd323806f.tar.gz
ports-e15a18575aaf481edd70a5766b19ea3cd323806f.zip
- Update to 1.0.5
- Patch to make port respect prefix. PR: ports/120106 Submitted by: Diego Rocha <diegorocha1987@gmail.com> (maintainer)
Notes
Notes: svn path=/head/; revision=206392
Diffstat (limited to 'ports-mgmt/pkgsearch')
-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