1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

ports-mgmt/portrac: fix port for pkgng

PR:		186963
Submitted by:	lchen@zen.lhaven.homeip.net
Approved by:	mgp@e-soul.org (maintainer timeout)
This commit is contained in:
Kurt Jaeger 2014-08-11 20:36:36 +00:00
parent 868f6dc661
commit b5ed8deedd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364661
2 changed files with 18 additions and 3 deletions

View File

@ -1,9 +1,8 @@
# Created by: mgp
# $FreeBSD$
PORTNAME= portrac
PORTVERSION= 0.4
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= ports-mgmt
MASTER_SITES= http://e-soul.org/distfiles/ \
http://home.e-soul.org/~mgp/distfiles/
@ -11,7 +10,7 @@ MASTER_SITES= http://e-soul.org/distfiles/ \
MAINTAINER= mgp@e-soul.org
COMMENT= Simple GUI tool for tracking port updates
LICENSE= BSD
LICENSE= BSD2CLAUSE
PLIST_FILES= bin/portrac \
share/portrac/portrac.png \
@ -23,6 +22,10 @@ PLIST_DIRS= share/portrac
USES= qmake tar:bzip2
USE_QT4= gui moc_build
.if defined(WITH_PKGNG)
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-PortChecker.cc
.endif
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/${DISTNAME}/portrac ${STAGEDIR}${PREFIX}/bin && \
${MKDIR} ${STAGEDIR}${DATADIR} && \

View File

@ -0,0 +1,12 @@
--- PortChecker.cc.orig 2011-05-29 04:27:22.000000000 -0500
+++ PortChecker.cc 2014-02-22 14:26:23.633015152 -0600
@@ -88,7 +88,7 @@
{
index = (preferences->getPreference(INDEX_PREF).c_str());
}
- execl("/usr/sbin/pkg_version", "pkg_version", "-I", index, (char *) 0);
+ execl("/usr/sbin/pkg", "pkg", "version", "-I", index, (char *) 0);
perror("execl");
}