diff --git a/databases/pkglocatedb/Makefile b/databases/pkglocatedb/Makefile index afed81beff0..30b1415c393 100644 --- a/databases/pkglocatedb/Makefile +++ b/databases/pkglocatedb/Makefile @@ -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 diff --git a/databases/pkglocatedb/pkg/DESCR b/databases/pkglocatedb/pkg/DESCR index bc995e4637e..82c86e37de1 100644 --- a/databases/pkglocatedb/pkg/DESCR +++ b/databases/pkglocatedb/pkg/DESCR @@ -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 diff --git a/databases/pkglocatedb/pkg/PLIST b/databases/pkglocatedb/pkg/PLIST index 8893ef75631..8b076315ed0 100644 --- a/databases/pkglocatedb/pkg/PLIST +++ b/databases/pkglocatedb/pkg/PLIST @@ -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