mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
b16ff65c56
PR: 207814 Submitted by: zi@ (me) Approved by: maintainer timeout (2+ weeks)
32 lines
682 B
Makefile
32 lines
682 B
Makefile
# Created by: Jason Harris <jharris@widomaker.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= file
|
|
PORTVERSION= 5.25
|
|
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
|
|
|
|
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>
|