2e90f8d574
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) (either with -d, or in a colon-separated list in LOCATE_PATH). Note: like sqlports, this is generated from the ports tree itself, so if your tree is in bad shape re: conflicts etc, this won't build. ok espie, discussed with many, reminded by oga@
25 lines
496 B
Makefile
25 lines
496 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2010/01/08 14:00:49 sthen Exp $
|
|
|
|
COMMENT = database of packages for use with locate(1)
|
|
|
|
DISTNAME = pkglocatedb-0.0
|
|
DISTFILES =
|
|
|
|
CATEGORIES = databases
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
do-build:
|
|
pkg_mklocatedb -a -p ${PORTSDIR} > ${WRKBUILD}/pkglocatedb
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKBUILD}/pkglocatedb ${PREFIX}/share
|
|
|
|
NO_REGRESS = Yes
|
|
NO_CHECKSUM = Yes
|
|
|
|
.include <bsd.port.mk>
|