aboutsummaryrefslogtreecommitdiffstats
path: root/devel/file/Makefile
blob: 46f04d948b09d3c30c71ff833bfb6e4fb83d7fe6 (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
# New ports collection makefile for:    file
# Date created:     29 July 2003
# Whom:         Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#

PORTNAME=   file
PORTVERSION=    4.03
CATEGORIES= devel
MASTER_SITES=   ftp://ftp.astron.com/pub/file/

MAINTAINER= knu@FreeBSD.org
COMMENT=    A tool to determine file types

#USE_LIBTOOL=   yes
GNU_CONFIGURE=  yes
INSTALLS_SHLIB= yes

MAN1=       file.1
MAN3=       libmagic.3
MAN4=       magic.4

post-install:
# This is way too ugly!  I need to get USE_LIBTOOL working.
    ${RM} -f ${PREFIX}/lib/libmagic.la
    ${RM} -f ${PREFIX}/lib/libmagic.so.1
    ${MV} -f ${PREFIX}/lib/libmagic.so.1.0 ${PREFIX}/lib/libmagic.so.1

.include <bsd.port.mk>