summaryrefslogtreecommitdiff
path: root/pkgtools/pkglibtool/Makefile
blob: 85264150ae0c39b17fd61f0d44201d062fccce73 (plain)
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
# $NetBSD: Makefile,v 1.7 1999/03/22 16:08:33 bad Exp $
#

DISTNAME=	libtool-1.2
PKGNAME=	pkglibtool-1.2p1
CATEGORIES=	pkgtools devel
MASTER_SITES=	${MASTER_SITE_GNU:=/libtool/}

MAINTAINER=	tv@netbsd.org
HOMEPAGE=	http://www.profitpress.com/libtool/

GNU_CONFIGURE=	yes
CONFIGURE_ENV=	INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
		INSTALL_DATA="${INSTALL_DATA}"
.if !exists(/usr/libexec/ld.so) && !exists(/usr/libexec/ld.elf_so)
CONFIGURE_ARGS=	--disable-shared
.endif

PLIST_SRC=	${WRKDIR}/PLIST

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/libtool ${PREFIX}/bin/${PKGNAME}
	@${ECHO} >${PLIST_SRC} bin/${PKGNAME}

.include "../../mk/bsd.pkg.mk"