openbsd-ports/devel/libtool/Makefile
kili eb4770dc84 Change Brads email address for now, so people can reach him instead of
getting bounces or 550s. Bump pkgnames. While here, remove quotes from
comments.

prompted by espie@
2007-09-01 20:11:21 +00:00

51 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.67 2007/09/01 20:11:21 kili Exp $
# $FreeBSD: Makefile,v 1.2 1998/09/23 16:15:53 vanilla Exp $
COMMENT-main= generic shared library support script
COMMENT-ltdl= GNU libtool system independent dlopen wrapper
VERSION= 1.5.22
DISTNAME= libtool-${VERSION}
PKGNAME-main= ${DISTNAME}p14
PKGNAME-ltdl= libltdl-${VERSION}p3
SHARED_LIBS= ltdl 4.3
MODGNU_SHARED_LIBS= ltdl '-no-undefined'
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=libtool/}
HOMEPAGE= http://www.gnu.org/software/libtool/
AUTOCONF_VERSION= 2.59
BUILD_DEPENDS+= ${MODGNU_AUTOCONF_DEPENDS}
MAINTAINER= Brad Smith <brad@comstyle.com>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--infodir=${PREFIX}/info
# Strictly speaking, forcing GREP in MAKE_ENV should suffice, since the
# libtool reconfigures during the build. But we want to play it safe for
# future changes/updates, so force GREP in CONFIGURE_ENV, too.
CONFIGURE_ENV= GREP=/usr/bin/grep
MAKE_ENV= GREP=/usr/bin/grep
FAKE_FLAGS= ${MAKE_FLAGS} DESTDIR=${WRKINST}
MULTI_PACKAGES= -main -ltdl
RUN_DEPENDS-main= ::devel/libtool,-ltdl
do-regress:
cd ${WRKDIR}/bin && ln -sf ${LOCALBASE}/bin/autoconf-2.59 autoconf
cd ${WRKBUILD} && exec ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} check
.include <bsd.port.mk>