summaryrefslogtreecommitdiff
path: root/devel/libg++/Makefile
blob: f46e012c3f57c529a7e79e7a100705cbb0a703f1 (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
26
27
28
29
30
31
32
33
34
# $NetBSD: Makefile,v 1.9 1999/03/22 16:08:32 bad Exp $
#

DISTNAME=	libg++-${GXXVERSION}
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_GNU:=/libg++/}

MAINTAINER=	tv@netbsd.org

LIB_DEPENDS=	stdc++.1.:	# only from NetBSD's source tree

BROKEN=		"Designed for NetBSD 1.4 - 1.3(.x) comes with this in-tree"

GXXVERSION=	2.8.1.1a	# used by internal Makefile

MAKE_ENV+=	GXXVERSION="${GXXVERSION}"
PLIST_SRC=	${WRKSRC}/.PLIST

INFO_FILES=	libg++.info

do-configure:
	@${CP} ${FILESDIR}/Makefile ${WRKSRC}

pre-install:
	${MKDIR} ${PREFIX}/include/g++/gen

post-install:
	${INSTALL_SCRIPT} ${WRKSRC}/genclass ${PREFIX}/bin/
	${INSTALL_DATA} ${WRKSRC}/libg++.info ${PREFIX}/info/
	@(${CAT} ${PKGDIR}/PLIST.pre; cd ${PREFIX}; \
		/bin/ls 2>/dev/null -1d lib/libg++*.a lib/libg++.so*) \
		>${PLIST_SRC}

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