1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/lang/glibstdc++28/Makefile
David E. O'Brien bb9b725c29 Put back my editor hints that were removed w/o permission.
Note these are *FULLY* Satoshi approved for the past 4 years.
2001-02-07 14:51:16 +00:00

56 lines
1.3 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: GNU libstdc++
# Date created: 03 Mar 1998
# Whom: David O'Brien <obrien@NUXI.com>
#
# $FreeBSD$
#
PORTNAME= glibstdc++
PORTVERSION= 2.8.1.1
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= libstdc++
DISTNAME= libstdc++-2.8.1.1
MAINTAINER= obrien@FreeBSD.org
BUILD_DEPENDS= gcc28:${PORTSDIR}/lang/gcc28 \
g++28:${PORTSDIR}/lang/gcc28
RUN_DEPENDS= gcc28:${PORTSDIR}/lang/gcc28 \
g++28:${PORTSDIR}/lang/gcc28
NO_CDROM= 'old version, not worth the cost in real estate'
.include <bsd.port.pre.mk>
CC= gcc28
CXX= g++28
.if ${PORTOBJFORMAT} == "elf"
CONFIGURE_TARGET= i386-portbld-freebsd${OSREL}
.else
CONFIGURE_TARGET= i386-portbld-freebsdaout${OSREL}
.endif
GCC28DIR= lib/gcc-lib/${CONFIGURE_TARGET}/2.8.1
GNU_CONFIGURE= yes
USE_GMAKE= yes
PLIST_SUB= GCC28SUBDIR=${GCC28DIR} GNUHOST=${CONFIGURE_TARGET}
pre-install:
@# allow a boched ``make install'' to be re-tried
@${RM} -rf ${PREFIX}/include/g++
@${MKDIR} ${PREFIX}/include/g++
post-install:
${RM} -rf ${PREFIX}/${GCC28DIR}/include/g++
${MV} ${PREFIX}/include/g++ \
${PREFIX}/${GCC28DIR}/include
${MV} ${PREFIX}/lib/libiberty.a \
${PREFIX}/${GCC28DIR}
${MV} ${PREFIX}/lib/libstdc++.a \
${PREFIX}/${GCC28DIR}
${INSTALL_DATA} ${FILESDIR}/osfcn.h \
${PREFIX}/${GCC28DIR}/include/g++
.include <bsd.port.post.mk>