pkgsrc-wip/mlocate/Makefile
2011-11-07 15:32:59 +00:00

38 lines
892 B
Makefile

# $NetBSD: Makefile,v 1.2 2011/11/07 15:32:59 emil_s Exp $
#
DISTNAME= mlocate-0.24
PKGREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= https://fedorahosted.org/releases/m/l/mlocate/
EXTRACT_SUFX= .tar.xz
MAINTAINER= esg@sdf.lonestar.org
HOMEPAGE= https://fedorahosted.org/releases/m/l/mlocate/
COMMENT= Merging 'locate' implementation
LICENSE= gnu-gpl-v2
# Depends on _PATH_MOUNTED being defined in paths.h
ONLY_FOR_PLATFORM= Linux-*-*
PKG_DESTDIR_SUPPORT= user-destdir
CONFLICTS= slocate-[0-9]*
# Force using "curl" for fetching the distribution file. It is only available
# over HTTPS and "curl" is the only fetch program which always supports HTTPS.
FETCH_USING= curl
GNU_CONFIGURE= yes
PKG_GROUPS= mlocate
SPECIAL_PERMS+= bin/locate root mlocate 2755
BUILD_DEFS+= VARBASE
CONFIGURE_ARGS+=--localstatedir=${VARBASE}
OWN_DIRS+= ${VARBASE}/mlocate
.include "../../mk/bsd.pkg.mk"