blob: 64353b490d0cf363317657bf3b77249ad0b4df66 (
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
35
36
37
38
39
40
41
42
|
# New ports collection makefile for: libg++
# Version required: 2.8.1.1a
# Date created: 8 April 1998
# Whom: tv@netbsd.org
#
# $NetBSD: Makefile,v 1.2 1998/04/12 23:16:16 tv Exp $
#
GXXVERSION= 2.8.1.1a # used by internal Makefile
DISTNAME= libg++-${GXXVERSION}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MAINTAINER= tv@netbsd.org
BUILD_DEPENDS= ${PREFIX}/bin/install-info:${PORTSDIR}/devel/gtexinfo
RUN_DEPENDS= ${PREFIX}/bin/install-info:${PORTSDIR}/devel/gtexinfo
LIB_DEPENDS= stdc++.1.: # only from NetBSD's source tree
MAKE_ENV+= GXXVERSION="${GXXVERSION}"
PLIST_SRC= ${WRKSRC}/.PLIST
MAN1= gperf.1
do-configure:
@${CP} ${FILESDIR}/Makefile ${WRKSRC}
pre-install:
${MKDIR} ${PREFIX}/include/g++/gen
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/genclass ${PREFIX}/bin/
${INSTALL_PROGRAM} ${WRKSRC}/gperf ${PREFIX}/bin/
${INSTALL_DATA} ${WRKSRC}/gperf.info ${WRKSRC}/libg++.info ${PREFIX}/info/
@install-info ${PREFIX}/info/gperf.info ${PREFIX}/info/dir
@install-info ${PREFIX}/info/libg++.info ${PREFIX}/info/dir
${INSTALL_DATA} ${WRKSRC}/libg++/gperf/gperf.1 ${PREFIX}/man/man1/
@(${CAT} ${PKGDIR}/PLIST.pre; cd ${PREFIX}; \
/bin/ls 2>/dev/null -1d lib/libg++*.a lib/libg++.so*) \
>${PLIST_SRC}
.include <bsd.port.mk>
|