mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
d69b90c313
I am sick and tired of getting usless email about this port.
50 lines
1.6 KiB
Makefile
50 lines
1.6 KiB
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: stlport
|
|
# Date Created: 2 December 1998
|
|
# Whom: Josh Gilliam <josh@quick.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= stlport
|
|
PORTVERSION= 4.0
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.stlport.com/archive/ \
|
|
http://www.stlport.com/beta/
|
|
DISTNAME= STLport-${PORTVERSION:S/.b/-b/}
|
|
|
|
MAINTAINER= obrien@FreeBSD.org
|
|
|
|
BROKEN= "YES I _KNOW_ THIS IS BROKEN. DO **NOT** EMAIL ME ABOUT THIS PORT UNLESS YOU ARE FUNISHING A PATCH TO FIX IT."
|
|
|
|
WRKSRC= ${WRKDIR}/STLport-${PORTVERSION:S/.b/b/}/src
|
|
MAKEFILE= gcc.mak
|
|
ALL_TARGET= clean all
|
|
USE_GMAKE= yes
|
|
|
|
pre-build:
|
|
${LN} -sf /usr/include/g++ ${WRKSRC}/../include
|
|
|
|
post-build:
|
|
.for lib in libstlport_gcc.so libstlport_gcc_debug.so libstlport_gcc_stldebug.so
|
|
${MV} ${WRKSRC}/../lib/${lib} ${WRKSRC}/../lib/${lib}.4_0_${PORTREVISION}
|
|
.endfor
|
|
-# get list from `export' files in version 4.1, rather than do this
|
|
cd ${WRKSRC}/../stlport ; ${RM} -rf BC50 SC5 config/new_compiler old_hp
|
|
find ${WRKSRC}/../stlport -name "*.orig" -delete
|
|
|
|
do-install:
|
|
cd ${WRKSRC}/.. ; pax -rw stlport ${PREFIX}/include
|
|
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/include
|
|
${CHMOD} -R ${SHAREMODE} ${PREFIX}/include
|
|
${CHMOD} -R ugo+X ${PREFIX}/include
|
|
${INSTALL_DATA} ${WRKSRC}/../lib/* ${PREFIX}/lib
|
|
.for lib in libstlport_gcc.so libstlport_gcc_debug.so libstlport_gcc_stldebug.so
|
|
cd ${PREFIX}/lib ; ${LN} -sf ${lib}.4_0_${PORTREVISION} ${lib}
|
|
.endfor
|
|
${MKDIR} ${PREFIX}/share/doc/html/stlport/images
|
|
cd ${WRKSRC}/../doc ; ${INSTALL_MAN} *.css *.html ${PREFIX}/share/doc/html/stlport
|
|
cd ${WRKSRC}/../doc ; ${INSTALL_MAN} images/* ${PREFIX}/share/doc/html/stlport/images
|
|
|
|
.include <bsd.port.mk>
|