1998-03-05 03:37:26 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: GNU libstdc++
|
|
|
|
# Version required: 2.8.0
|
|
|
|
# Date created: 03 Mar 1998
|
|
|
|
# Whom: David O'Brien <obrien@NUXI.com>
|
|
|
|
#
|
1998-08-07 22:49:31 +00:00
|
|
|
# $Id: Makefile,v 1.3 1998/04/20 10:36:05 obrien Exp $
|
1998-03-05 03:37:26 +00:00
|
|
|
#
|
|
|
|
|
1998-04-20 10:36:06 +00:00
|
|
|
DISTNAME= libstdc++-2.8.1.1
|
|
|
|
PKGNAME= glibstdc++-2.8.1.1
|
1998-03-05 03:37:26 +00:00
|
|
|
CATEGORIES= lang
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
|
|
|
|
|
|
MAINTAINER= obrien@FreeBSD.org
|
|
|
|
|
|
|
|
BUILD_DEPENDS= gcc28:${PORTSDIR}/lang/gcc28 \
|
|
|
|
g++28:${PORTSDIR}/lang/gcc28
|
1998-04-20 10:36:06 +00:00
|
|
|
RUN_DEPENDS= gcc28:${PORTSDIR}/lang/gcc28 \
|
|
|
|
g++28:${PORTSDIR}/lang/gcc28
|
1998-03-05 03:37:26 +00:00
|
|
|
|
|
|
|
CC= gcc28
|
|
|
|
CXX= g++28
|
1998-08-07 22:49:31 +00:00
|
|
|
GCC28DIR= lib/gcc-lib/i386-unknown-freebsd${OSREL}/2.8.1
|
1998-03-05 03:37:26 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
PLIST= ${WRKDIR}/PLIST.fixedup
|
|
|
|
|
|
|
|
pre-install:
|
1998-08-07 22:49:31 +00:00
|
|
|
${SED} -e 's:%%GNUOSREL%%:${OSREL}:' \
|
1998-04-20 10:36:06 +00:00
|
|
|
-e 's:%%GCC28SUBDIR%%:${GCC28DIR}:' \
|
|
|
|
${PKGDIR}/PLIST > ${PLIST}
|
1998-03-05 03:37:26 +00:00
|
|
|
|
|
|
|
post-install:
|
1998-04-20 10:36:06 +00:00
|
|
|
${RM} -rf ${PREFIX}/${GCC28DIR}/include/g++
|
1998-03-05 03:37:26 +00:00
|
|
|
${MV} ${PREFIX}/include/g++ \
|
1998-04-20 10:36:06 +00:00
|
|
|
${PREFIX}/${GCC28DIR}//include
|
1998-03-05 03:37:26 +00:00
|
|
|
${MV} ${PREFIX}/lib/libiberty.a \
|
1998-04-20 10:36:06 +00:00
|
|
|
${PREFIX}/${GCC28DIR}
|
1998-03-05 03:37:26 +00:00
|
|
|
${MV} ${PREFIX}/lib/libstdc++.a \
|
1998-04-20 10:36:06 +00:00
|
|
|
${PREFIX}/${GCC28DIR}
|
1998-03-05 03:37:26 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|