mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
0209753c28
PR: ports/143221 Submitted by: Jason Helfman <jhelfman@e-e.com> Approved by: jharris@widomaker.com (maintainer timeout)
36 lines
770 B
Makefile
36 lines
770 B
Makefile
# New ports collection makefile for: file
|
|
# Date created: 2001-11-10
|
|
# Whom: Jason Harris <jharris@widomaker.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= file
|
|
PORTVERSION= 5.04
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ftp://ftp.astron.com/pub/file/ \
|
|
ftp://ftp.gw.com/mirrors/unix/file/ \
|
|
ftp://ftp.fu-berlin.de/unix/tools/file/
|
|
|
|
MAINTAINER= jharris@widomaker.com
|
|
COMMENT= Utility to determine file type
|
|
|
|
USE_AUTOTOOLS= libtool:22
|
|
USE_LDCONFIG= yes
|
|
|
|
CONFIGURE_ARGS+= --enable-fsect-man5
|
|
|
|
CONFLICTS= tct-[0-9]*
|
|
|
|
MAN1= file.1
|
|
MAN3= libmagic.3
|
|
MAN5= magic.5
|
|
|
|
regression-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>
|