freebsd-ports/devel/libtool-fixed/Makefile
Stanislav Sedov 422bce3414 - Return my ports back to the pool. I was unable to make any fixes to
my ports in the past 3 weeks while ports were broken on any 10.x
  machines, which means I'm unable to maintain them.  So let people know
  that there's no available support for them until things are back to
  normal (which also means that anyone with spare time will be able
  to fix them without getting approval).
2011-10-24 03:33:20 +00:00

48 lines
1.2 KiB
Makefile

# 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
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= libtool
PKGNAMESUFFIX= -fixed
MAINTAINER= ports@FreeBSD.org
COMMENT= Generic shared library support script -- the fixed version
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
CONFLICTS= libtool-[0-9]*
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
@${REINPLACE_CMD} -e 's|freebsd1\*)|freebsd1.\*)|g' \
-e 's|freebsd\[12\]\*)|freebsd[12].*)|g' \
-e 's|freebsd\[123\]\*)|freebsd[123].*)|g' \
${WRKSRC}/configure ${WRKSRC}/libltdl/configure
@${REINPLACE_CMD} -e 's|freebsd1\*)|freebsd1.\*)|g' \
-e 's|freebsd\[\[12\]\]\*)|freebsd[[12]].*)|g' \
-e 's|freebsd\[\[123\]\]\*)|freebsd[[123]].*)|g' \
${WRKSRC}/libltdl/m4/libtool.m4
post-configure:
@${FIND} ${WRKSRC} -type f | ${XARGS} ${TOUCH} -f
.include <bsd.port.mk>