freebsd-ports/devel/stlport/Makefile
Mikhail Teterin f82922d767 Do not tinker with the ALL_TARGET. The existing version makes clean
before all, which will restart the whole build every time you interrupt
it... Run the bundled tests after in post-build. Obey the CXXFLAGS.

Approved by:	maintainer
2002-03-10 23:24:14 +00:00

47 lines
1.1 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.5.3
CATEGORIES= devel
MASTER_SITES= http://www.stlport.com/archive/
DISTNAME= STLport-${PORTVERSION:S/.b/-b/}
MAINTAINER= pmarquis@pobox.com
.include <bsd.port.pre.mk>
.if !exists(/usr/include/wchar.h)
BROKEN= "Requires /usr/include/wchar.h for compilation"
.endif
WRKSRC= ${WRKDIR}/STLport-${PORTVERSION:S/.b/b/}/src
PATCH_WRKSRC= ${WRKDIR}/STLport-${PORTVERSION:S/.b/b/}
USE_GMAKE= yes
MAKEFILE= gcc-freebsd.mak
MAKE_ARGS= INSTALLDIR=${PREFIX}
INSTALL_TARGET= install_unix
INSTALLS_SHLIB= yes
.if ${OSVERSION} < 440000
BROKEN= "Not supported on systems prior to FreeBSD 4.4"
.endif
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}/images
${INSTALL_DATA} ${WRKSRC}/../doc/*.css ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/../doc/*.html ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/../doc/images/* ${DOCSDIR}/images
.endif
post-build test:
cd ${WRKSRC}/../test/eh && ${GMAKE} -f ${MAKEFILE}
.include <bsd.port.post.mk>