pkgsrc/devel/stlport/Makefile
jlam 9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00

59 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.29 2006/03/04 21:29:30 jlam Exp $
DISTNAME= STLport-4.6
PKGNAME= stlport-4.6
PKGREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://www.stlport.com/archive/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.stlport.org/
COMMENT= Complete C++ standard library
USE_TOOLS+= gmake
USE_LIBTOOL= yes
USE_LANGUAGES= c c++
NO_CONFIGURE= yes
BUILD_DIRS= src
MAKE_ENV+= CXXFLAGS=${CXXFLAGS:M*:Q}
MAKEFILE= gcc-libtool.mak
PTHREAD_OPTS+= require
PTHREAD_AUTO_VARS= yes
LDFLAGS+= ${PTHREAD_LIBS}
LIBDIR= ${PREFIX}/lib
HTMLDIR= ${PREFIX}/share/doc/html/stlport
INSTALLATION_DIRS= include lib
pre-install:
cd ${WRKSRC:Q}/stlport && ${RM} -rf BC50 config/new_compiler old_hp
do-install:
set -e; \
cd ${WRKSRC:Q}; \
${FIND} stlport -type d -print \
| while read d; do \
${INSTALL_DATA_DIR} ${PREFIX:Q}/include/"$$d"; \
done; \
${FIND} stlport -type f ! -name "*.orig" -print \
| while read f; do \
${INSTALL_DATA} "$$f" ${PREFIX:Q}/include/"$$f"; \
done
set -e; \
for lib in \
libstlport_gcc.la \
libstlport_gcc_stldebug.la; \
do \
${LIBTOOL} ${INSTALL_LIB} ${WRKSRC:Q}/lib/"$$lib" ${LIBDIR:Q}; \
done
${INSTALL_DATA_DIR} ${HTMLDIR:Q}
${INSTALL_DATA_DIR} ${HTMLDIR:Q}/images
cd ${WRKSRC:Q}/doc && ${INSTALL_DATA} *.css *.html ${HTMLDIR:Q}
cd ${WRKSRC:Q}/doc && ${INSTALL_DATA} images/* ${HTMLDIR:Q}/images
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"