aboutsummaryrefslogtreecommitdiff
path: root/sysutils/file
diff options
context:
space:
mode:
authorBrendan Fabeny <bf@FreeBSD.org>2013-01-04 22:32:41 +0000
committerBrendan Fabeny <bf@FreeBSD.org>2013-01-04 22:32:41 +0000
commit53f312af13e884508dc1b7eb4f4add226891db6c (patch)
tree38aed12e7bb4f0c707bd345283ed317e2fc18681 /sysutils/file
parent0d2af93f2bf89282a514441af5f4dc320c5d14f7 (diff)
downloadports-53f312af13e884508dc1b7eb4f4add226891db6c.tar.gz
ports-53f312af13e884508dc1b7eb4f4add226891db6c.zip
update to 5.12
Notes
Notes: svn path=/head/; revision=309943
Diffstat (limited to 'sysutils/file')
-rw-r--r--sysutils/file/Makefile19
-rw-r--r--sysutils/file/distinfo4
2 files changed, 14 insertions, 9 deletions
diff --git a/sysutils/file/Makefile b/sysutils/file/Makefile
index ff34c7c52824..a1edc3de57aa 100644
--- a/sysutils/file/Makefile
+++ b/sysutils/file/Makefile
@@ -1,12 +1,8 @@
-# New ports collection makefile for: file
-# Date created: 2001-11-10
-# Whom: Jason Harris <jharris@widomaker.com>
-#
+# Created by: Jason Harris <jharris@widomaker.com>
# $FreeBSD$
-#
PORTNAME= file
-PORTVERSION= 5.11
+PORTVERSION= 5.12
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.astron.com/pub/file/ \
ftp://ftp.fu-berlin.de/unix/tools/file/
@@ -14,6 +10,8 @@ MASTER_SITES= ftp://ftp.astron.com/pub/file/ \
MAINTAINER= bf@FreeBSD.org
COMMENT= Utility to determine file type
+LICENSE= BSD
+
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
@@ -25,10 +23,17 @@ MAN1= file.1
MAN3= libmagic.3
MAN5= magic.5
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 800000
+CONFIGURE_ENV+= gl_cv_cc_visibility=no
+.endif
+
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>
+
+.include <bsd.port.post.mk>
diff --git a/sysutils/file/distinfo b/sysutils/file/distinfo
index 3f129ad31a72..5deeefbe4524 100644
--- a/sysutils/file/distinfo
+++ b/sysutils/file/distinfo
@@ -1,2 +1,2 @@
-SHA256 (file-5.11.tar.gz) = c70ae29a28c0585f541d5916fc3248c3e91baa481f63d7ccec53d1534cbcc9b7
-SIZE (file-5.11.tar.gz) = 610019
+SHA256 (file-5.12.tar.gz) = 199d0dab2e32814cbced8dc30d3d2d5b7e45587598160a2c401358b573273d22
+SIZE (file-5.12.tar.gz) = 632808