aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/file/Makefile
blob: c91a8d1a41828cb2e401b0d8b2b2621b4a369542 (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
# Created by: Jason Harris <jharris@widomaker.com>
# $FreeBSD$

PORTNAME=   file
PORTVERSION=    5.28
CATEGORIES= sysutils
MASTER_SITES=   ftp://ftp.astron.com/pub/file/ \
        ftp://ftp.fu-berlin.de/unix/tools/file/

MAINTAINER= jharris@widomaker.com
COMMENT=    Utility to determine file type

LICENSE=    BSD2CLAUSE

USES=       libtool
USE_LDCONFIG=   yes

GNU_CONFIGURE=  yes
CONFIGURE_ARGS+=--enable-fsect-man5
MAKE_ENV+=  INSTALL_STRIP_FLAG="${STRIP}"

CONFLICTS=  tct-[0-9]*

check regression-test test: build
    @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} check

post-patch:
    @${REINPLACE_CMD} -e 's|$$(datadir)/misc|$$(datadir)/${PORTNAME}|g' \
        ${WRKSRC}/configure

.include <bsd.port.mk>