aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libtool/Makefile
blob: fcbf0de5fab46ce655f37a0e7c028f2e1a7c1736 (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
31
32
33
34
35
36
# Created by: Motoyuki Kasahara <m-kasahr@sra.co.jp>
# $FreeBSD$

PORTNAME?=  libtool
PORTVERSION=    2.4.2
PORTREVISION=   3
CATEGORIES= devel
MASTER_SITES=   ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= libtool
DISTNAME=   libtool-${PORTVERSION}

MAINTAINER= autotools@FreeBSD.org
COMMENT?=   Generic shared library support script

LICENSE?=        GPLv2

CONFLICTS=  libtool-fixed-[0-9]*

USES=       makeinfo
GNU_CONFIGURE=  yes
CONFIGURE_ARGS?= --disable-ltdl-install
CONFIGURE_ENV=  MAKEINFO="makeinfo --no-split"
INFO?=      libtool

post-extract:
    @${RM} -f ${WRKSRC}/doc/*.info*

post-patch:
    @${REINPLACE_CMD} -e 's|sed gsed|sed|g' \
        -e 's|CC=cc|CC=${CC}|g' \
        ${WRKSRC}/configure ${WRKSRC}/libltdl/configure

post-configure:
    @${FIND} ${WRKSRC} -type f | ${XARGS} ${TOUCH} -f

.include <bsd.port.mk>