2018-09-06 18:35:27 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.71 2018/09/06 18:35:27 landry Exp $
|
2004-01-29 21:57:53 +00:00
|
|
|
|
2017-05-11 15:30:37 +00:00
|
|
|
ONLY_FOR_ARCHS= aarch64 alpha amd64 arm i386 mips64 mips64el powerpc sparc64 hppa
|
2004-01-29 21:57:53 +00:00
|
|
|
|
2012-11-12 20:39:09 +00:00
|
|
|
COMMENT = Netscape Portable Runtime
|
2004-01-29 21:57:53 +00:00
|
|
|
|
2018-09-06 18:35:27 +00:00
|
|
|
VER= 4.20
|
2004-01-29 21:57:53 +00:00
|
|
|
DISTNAME= nspr-${VER}
|
2006-11-06 14:35:45 +00:00
|
|
|
|
2018-01-24 17:22:41 +00:00
|
|
|
SO_VERSION= 24.0
|
2006-11-06 14:35:45 +00:00
|
|
|
.for _lib in nspr4 plc4 plds4
|
|
|
|
SHARED_LIBS+= ${_lib} ${SO_VERSION}
|
|
|
|
.endfor
|
2006-01-07 19:45:35 +00:00
|
|
|
|
2004-01-29 21:57:53 +00:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
2016-03-12 07:02:16 +00:00
|
|
|
HOMEPAGE= https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR
|
2004-01-29 21:57:53 +00:00
|
|
|
|
2011-10-03 17:54:23 +00:00
|
|
|
MAINTAINER= Landry Breuil <landry@openbsd.org>
|
2004-01-29 21:57:53 +00:00
|
|
|
|
2012-11-12 20:39:09 +00:00
|
|
|
WANTLIB= c pthread
|
2006-11-15 17:42:24 +00:00
|
|
|
|
2004-01-29 21:57:53 +00:00
|
|
|
# MPL - Mozilla Public License
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
2013-06-23 18:36:50 +00:00
|
|
|
MASTER_SITES = http://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${VER}/src/
|
2004-01-29 21:57:53 +00:00
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
2014-06-11 07:58:17 +00:00
|
|
|
AUTOCONF_VERSION= 2.69
|
2004-10-25 09:02:53 +00:00
|
|
|
CONFIGURE_STYLE= autoconf no-autoheader
|
2004-01-29 21:57:53 +00:00
|
|
|
|
2006-11-06 14:35:45 +00:00
|
|
|
MAKE_ENV= SO_VERSION="${SO_VERSION}"
|
|
|
|
CONFIGURE_ENV= ${MAKE_ENV}
|
2006-01-07 19:45:35 +00:00
|
|
|
|
2013-06-23 18:36:50 +00:00
|
|
|
WRKSRC= ${WRKDIST}/nspr
|
2004-10-25 09:02:53 +00:00
|
|
|
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/build/autoconf
|
2004-01-29 21:57:53 +00:00
|
|
|
|
2013-03-11 10:50:00 +00:00
|
|
|
do-test:
|
2006-11-07 16:22:05 +00:00
|
|
|
${MAKE_PROGRAM} -C ${WRKSRC}/pr/tests
|
|
|
|
${MAKE_PROGRAM} -C ${WRKSRC}/lib/tests
|
2007-03-01 22:37:48 +00:00
|
|
|
@cd ${WRKSRC}/pr/tests && ulimit -Sn 192 && env TZ=gmt \
|
2008-07-25 00:42:33 +00:00
|
|
|
LD_LIBRARY_PATH=${WRKSRC}/dist/lib /bin/ksh runtests.sh
|
2007-03-01 22:37:48 +00:00
|
|
|
LD_LIBRARY_PATH=${WRKSRC}/dist/lib ${WRKSRC}/lib/tests/string
|
|
|
|
LD_LIBRARY_PATH=${WRKSRC}/dist/lib ${WRKSRC}/lib/tests/base64t
|
2006-11-07 16:22:05 +00:00
|
|
|
|
2004-01-29 21:57:53 +00:00
|
|
|
.include <bsd.port.mk>
|