aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libtool24/Makefile
blob: 17a4ac06ef854eac2b2e607211bdfe74bbc4ccf4 (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
37
38
39
40
41
# New ports collection makefile for:    libtool
# Date created:     6 May 1998
# Whom:         Motoyuki Kasahara <m-kasahr@sra.co.jp>
#
# $FreeBSD$
#

PORTNAME?=  libtool
PORTVERSION=    2.4
CATEGORIES= devel
MASTER_SITES=   ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= libtool
DISTNAME=   libtool-${PORTVERSION}

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

.if !defined(WITH_PSYCHOPATHIC_TENDENCIES)
IGNORE= You really do not want this yet.  Trust me.
.endif

LICENSE?=        GPLv2
LICENSE_FILE?=   ${WRKSRC}/COPYING

GNU_CONFIGURE=  yes
CONFIGURE_ARGS?= --disable-ltdl-install
CONFIGURE_ENV=  MAKEINFO="makeinfo --no-split"
INFO?=      libtool
.if ${PORTNAME} != "libltdl"
MAN1=       libtool.1 libtoolize.1
.endif

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>