blob: c2c9fe650907ffe12545480010c89401b7919c07 (
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
|
# New ports collection makefile for: file
# Date created: 2001-11-10
# Whom: Jason Harris <jharris@widomaker.com>
#
# $FreeBSD$
#
PORTNAME= file
PORTVERSION= 5.10
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.astron.com/pub/file/ \
ftp://ftp.fu-berlin.de/unix/tools/file/
MAINTAINER= bf@FreeBSD.org
COMMENT= Utility to determine file type
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
CONFIGURE_ARGS+= --enable-fsect-man5
CONFLICTS= tct-[0-9]*
MAN1= file.1
MAN3= libmagic.3
MAN5= magic.5
check regression-test test: build
@( cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} check ; )
post-patch:
@${REINPLACE_CMD} -e 's|$(datadir)/misc|$(datadir)/${PORTNAME}|g' \
${WRKSRC}/configure
.include <bsd.port.mk>
|