Rename the utility from pkglocate to pkg_locate to be consistent with
the other pkg_* tools. pkglocate is kept as a link to not break backward compat. ok espie@
This commit is contained in:
parent
f367c79829
commit
39f25c5430
@ -1,8 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.6 2011/09/10 10:43:06 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.7 2011/09/11 16:12:34 ajacoutot Exp $
|
||||
|
||||
COMMENT = database of packages for use with locate(1)
|
||||
|
||||
DISTNAME = pkglocatedb-0.2
|
||||
DISTNAME = pkglocatedb-0.3
|
||||
DISTFILES =
|
||||
|
||||
CATEGORIES = databases
|
||||
@ -20,8 +20,9 @@ do-build:
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA} ${WRKBUILD}/pkglocatedb ${PREFIX}/share
|
||||
${SUBST_CMD} -o root -g bin -c ${FILESDIR}/pkglocate ${PREFIX}/bin/pkglocate
|
||||
chmod ${BINMODE} ${PREFIX}/bin/pkglocate
|
||||
${SUBST_CMD} -o root -g bin -c ${FILESDIR}/pkglocate ${PREFIX}/bin/pkg_locate
|
||||
chmod ${BINMODE} ${PREFIX}/bin/pkg_locate
|
||||
ln -s ${TRUEPREFIX}/bin/pkg_locate ${PREFIX}/bin/pkglocate
|
||||
|
||||
NO_REGRESS = Yes
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
Database of files from all packages in the ports tree, including names
|
||||
of the packages containing them. This is in a format suitable for use with
|
||||
locate(1), for instance through the convenience script
|
||||
${PREFIX}/bin/pkglocate
|
||||
${PREFIX}/bin/pkg_locate
|
||||
|
@ -1,4 +1,5 @@
|
||||
@comment $OpenBSD: PLIST,v 1.2 2010/10/28 11:06:46 espie Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.3 2011/09/11 16:12:34 ajacoutot Exp $
|
||||
@option always-update
|
||||
bin/pkg_locate
|
||||
bin/pkglocate
|
||||
share/pkglocatedb
|
||||
|
Loading…
Reference in New Issue
Block a user