pkgsrc/devel/stlport/Makefile
tv c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00

51 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.19 2004/10/03 00:13:33 tv Exp $
DISTNAME= STLport-4.6
PKGNAME= stlport-4.6
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.stlport.com/archive/
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.stlport.org/
COMMENT= Complete C++ standard library
USE_BUILDLINK3= yes
USE_GNU_TOOLS+= make
USE_LIBTOOL= # defined
USE_LANGUAGES= c c++
NO_CONFIGURE= # defined
BUILD_DIRS= ${WRKSRC}/src
MAKE_ENV+= CXXFLAGS="${CXXFLAGS}"
MAKEFILE= gcc-libtool.mak
PTHREAD_OPTS+= require
INCDIR= ${PREFIX}/include/stlport
LIBDIR= ${PREFIX}/lib
HTMLDIR= ${PREFIX}/share/doc/html/stlport
pre-install:
cd ${WRKSRC}/stlport && ${RM} -rf BC50 config/new_compiler old_hp
${FIND} ${WRKSRC}/stlport -name "*.orig" -print | ${XARGS} ${RM} -f
do-install:
cd ${WRKSRC} && ${PAX} -rw stlport ${PREFIX}/include
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${INCDIR}
${CHMOD} -R ${SHAREMODE} ${INCDIR}
${CHMOD} -R a+X ${INCDIR}
for lib in \
libstlport_gcc.la \
libstlport_gcc_stldebug.la; \
do \
${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/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"