2003-05-30 01:14:07 +02:00
|
|
|
# $NetBSD: Makefile,v 1.12 2003/05/29 23:14:09 grant Exp $
|
2000-12-27 18:37:50 +01:00
|
|
|
|
|
|
|
DISTNAME= STLport-4.0
|
|
|
|
PKGNAME= stlport-4.0
|
2002-02-25 14:53:36 +01:00
|
|
|
PKGREVISION= 2
|
2000-12-27 18:37:50 +01:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= http://www.stlport.com/archive/
|
|
|
|
|
|
|
|
MAINTAINER= p99dreyf@criens.u-psud.fr
|
2001-01-13 01:53:29 +01:00
|
|
|
HOMEPAGE= http://www.stlport.org/
|
2001-02-16 15:38:16 +01:00
|
|
|
COMMENT= Complete C++ standard library
|
2000-12-27 18:37:50 +01:00
|
|
|
|
2002-10-01 01:33:54 +02:00
|
|
|
USE_BUILDLINK2= # defined
|
2000-12-27 18:37:50 +01:00
|
|
|
USE_GMAKE= # defined
|
|
|
|
USE_LIBTOOL= # defined
|
2003-05-30 01:14:07 +02:00
|
|
|
USE_GCC_SHLIB= # defined
|
2000-12-27 18:37:50 +01:00
|
|
|
|
|
|
|
NO_CONFIGURE= # defined
|
2002-10-01 01:33:54 +02:00
|
|
|
BUILD_DIRS= ${WRKSRC}/src
|
2000-12-27 18:37:50 +01:00
|
|
|
|
|
|
|
MAKE_ENV+= CXXFLAGS="${CXXFLAGS}"
|
|
|
|
MAKEFILE= gcc-libtool.mak
|
|
|
|
|
|
|
|
# A threads implementation isn't necessary when building the library.
|
|
|
|
CPPFLAGS+= -D__STL_NO_THREADS
|
|
|
|
|
|
|
|
INCDIR= ${PREFIX}/include/stlport
|
|
|
|
LIBDIR= ${PREFIX}/lib
|
|
|
|
HTMLDIR= ${PREFIX}/share/doc/html/stlport
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
cd ${WRKSRC}/stlport && ${RM} -rf BC50 SC5 config/new_compiler old_hp
|
2002-10-01 01:33:54 +02:00
|
|
|
${FIND} ${WRKSRC}/stlport -name "*.orig" | ${XARGS} ${RM} -f
|
2000-12-27 18:37:50 +01:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
cd ${WRKSRC} && ${PAX} -rw stlport ${PREFIX}/include
|
|
|
|
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${INCDIR}
|
|
|
|
${CHMOD} -R ${SHAREMODE} ${INCDIR}
|
|
|
|
${CHMOD} -R a+X ${INCDIR}
|
2001-04-30 22:41:11 +02:00
|
|
|
for lib in \
|
|
|
|
libstlport_gcc.la \
|
|
|
|
libstlport_gcc_debug.la \
|
|
|
|
libstlport_gcc_stldebug.la; \
|
|
|
|
do \
|
2000-12-27 18:37:50 +01:00
|
|
|
${LIBTOOL} ${INSTALL_DATA} ${WRKSRC}/lib/$${lib} ${LIBDIR}; \
|
|
|
|
done
|
|
|
|
${INSTALL_DATA_DIR} ${HTMLDIR}
|
|
|
|
${INSTALL_DATA_DIR} ${HTMLDIR}/images
|
|
|
|
cd ${WRKSRC}/doc; ${INSTALL_DATA} *.css *.html ${HTMLDIR}
|
|
|
|
cd ${WRKSRC}/doc; ${INSTALL_DATA} images/* ${HTMLDIR}/images
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|