2013-01-04 23:32:41 +01:00
|
|
|
# Created by: Jason Harris <jharris@widomaker.com>
|
2001-12-13 05:03:48 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= file
|
2017-09-14 19:56:50 +02:00
|
|
|
PORTVERSION= 5.32
|
2001-12-13 05:03:48 +01:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
MASTER_SITES= ftp://ftp.astron.com/pub/file/ \
|
|
|
|
ftp://ftp.fu-berlin.de/unix/tools/file/
|
|
|
|
|
2016-06-30 03:08:52 +02:00
|
|
|
MAINTAINER= jharris@widomaker.com
|
2005-11-07 14:30:17 +01:00
|
|
|
COMMENT= Utility to determine file type
|
2001-12-13 05:03:48 +01:00
|
|
|
|
2014-02-05 22:45:46 +01:00
|
|
|
LICENSE= BSD2CLAUSE
|
2013-01-04 23:32:41 +01:00
|
|
|
|
2014-06-17 09:09:12 +02:00
|
|
|
USES= libtool
|
2006-10-09 16:12:36 +02:00
|
|
|
USE_LDCONFIG= yes
|
2005-10-17 11:32:45 +02:00
|
|
|
|
2014-06-17 09:09:12 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2016-03-24 00:23:32 +01:00
|
|
|
CONFIGURE_ARGS+=--enable-fsect-man5
|
2014-02-05 22:45:46 +01:00
|
|
|
MAKE_ENV+= INSTALL_STRIP_FLAG="${STRIP}"
|
2005-11-07 14:30:17 +01:00
|
|
|
|
2006-10-09 16:12:36 +02:00
|
|
|
CONFLICTS= tct-[0-9]*
|
|
|
|
|
2011-06-30 11:05:33 +02:00
|
|
|
check regression-test test: build
|
2013-09-25 14:12:41 +02:00
|
|
|
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} check
|
2008-07-22 03:49:54 +02:00
|
|
|
|
2009-09-19 18:50:27 +02:00
|
|
|
post-patch:
|
2016-07-20 17:33:20 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|$$(datadir)/misc|$$(datadir)/${PORTNAME}|g' \
|
2009-09-19 18:50:27 +02:00
|
|
|
${WRKSRC}/configure
|
2013-01-04 23:32:41 +01:00
|
|
|
|
2014-02-05 09:27:33 +01:00
|
|
|
.include <bsd.port.mk>
|