aboutsummaryrefslogtreecommitdiffstats
path: root/misc/findutils/Makefile
blob: 3b4ca24fad10d13d25c562c2037963589ddd4214 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# New ports collection makefile for:    findutils
# Date created:             29 March 2000
# Whom:                 Robert Withrow <witr@rwwa.com>
#
# $FreeBSD$
#

PORTNAME=   findutils
PORTVERSION=    4.2.30
PORTREVISION=   1
CATEGORIES= misc
MASTER_SITES=   ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= findutils
DISTFILES=  ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.sig
EXTRACT_ONLY=   ${DISTNAME}${EXTRACT_SUFX}

MAINTAINER= trasz@freebsd.org
COMMENT=    The GNU find utilities

SIG_FILES=  ${DISTNAME}${EXTRACT_SUFX}.sig
GNU_CONFIGURE=  yes
CONFIGURE_ENV=      CPPFLAGS="-I${LOCALBASE}/include" \
            LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --mandir=${PREFIX}/man --infodir=${PREFIX}/info
USE_GMAKE=  yes
USE_GCC=    3.4+

.if !defined(WITHOUT_NLS)
USE_GETTEXT=    yes
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=    --disable-nls
PLIST_SUB+= NLS="@comment "
.endif

CONFIGURE_ARGS+=    --program-prefix=g --localstatedir=${LOCALSTATEDIR}
MAKE_ARGS=  INSTALL_SCRIPT="${INSTALL_SCRIPT}"

INFO=       find
MAN1=       gfind.1 gxargs.1 glocate.1 gupdatedb.1
MAN5=       glocatedb.5

LOCALSTATEDIR?= /var/db

.include <bsd.port.mk>