# Ports collection Makefile for: nspr # Date created: 18 December 2001 # Whom: Maxim Sobolev # # $FreeBSD$ # $MCom: ports-experimental/devel/nspr/Makefile,v 1.6 2008/03/12 13:06:56 ahze Exp $ PORTNAME= nspr DISTVERSION= 4.7 CATEGORIES= devel #MASTER_SITES= LOCAL/ahze MASTER_SITES= ${MASTER_SITE_MOZILLA} MASTER_SITE_SUBDIR= nspr/releases/v${PORTVERSION}/src MAINTAINER= gnome@FreeBSD.org COMMENT= A platform-neutral API for system level and libc like functions WRKSRC= ${WRKDIR}/${DISTNAME}/mozilla/nsprpub/build USE_LDCONFIG= yes USE_GMAKE= yes GNU_CONFIGURE= yes CONFIGURE_SCRIPT=../configure CONFIGURE_ARGS= --disable-debug \ --with-pthreads CONFIGURE_ENV= BSD_PTHREAD_LIBS=${PTHREAD_LIBS} MAKE_ENV= DIST=${WRKSRC}/dist LIBS= libnspr4.so.1 libplc4.so.1 libplds4.so.1 .include post-patch: @${REINPLACE_CMD} -e 's,-lpthread,${PTHREAD_LIBS},g ; s,echo aout,echo elf,g' ${WRKSRC}/${CONFIGURE_SCRIPT} .if ${OSVERSION} < 601104 @${REINPLACE_CMD} -e 's|pthread_cond_wait|_pthread_cond_wait|g' \ ${WRKSRC}/../pr/src/md/unix/pthreads_user.c \ ${WRKSRC}/../pr/src/pthreads/ptsynch.c .endif do-install: ${MKDIR} ${PREFIX}/include/nspr ${TAR} -C ${WRKSRC}/dist/include --dereference -cf - . | \ ${TAR} -C ${PREFIX}/include -xf - ${TAR} -C ${WRKSRC}/dist/lib --dereference -cf - . | \ ${TAR} -C ${PREFIX}/lib -xf - ${INSTALL_SCRIPT} ${WRKSRC}/config/nspr-config ${PREFIX}/bin ${MKDIR} ${PREFIX}/libdata/pkgconfig ${INSTALL_DATA} ${WRKSRC}/config/nspr.pc ${PREFIX}/libdata/pkgconfig .for lib in ${LIBS} ${LN} -sf ${lib} ${PREFIX}/lib/${lib:R} .endfor prtests: env PTHREAD_LIBS="${PTHREAD_LIBS}" ${GMAKE} -C ${WRKSRC}/pr/tests ${LN} -sf libmy.so.1 ${WRKSRC}/pr/tests/dll/libmy.so cd ${WRKSRC}/pr/tests && ../../../pr/tests/runtests.sh libtests: ${GMAKE} -C ${WRKSRC}/lib/tests ${WRKSRC}/lib/tests/string ${WRKSRC}/lib/tests/base64t # The test below is commented out, because arena requires # command-line arguments. If you can provide reasonable values # for it, please contact ${MAINTAINER}. Thank you. # ${WRKSRC}/lib/tests/arena # test: libtests prtests #.if defined(PACKAGE_BUILDING) #post-build: test #.else post-build: # # Please, consider running ``make test'' to find any # possible build problems. # #.endif .include evel/electron4/files/lodash.merge-4.6.2 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* - Update to 2.0.0b5.10 [1]bdrewery2012-09-112-10/+12
* - Update to 2.0.0b5cs2012-03-063-7/+8
* - Update to 2.0.0b4.8beech2011-05-203-156/+5
* -Update to 2.0.0b4.p7beech2011-05-153-4/+156
* - Update to 2.0.0b4culot2011-04-263-6/+9
* - Get Rid MD5 supportmiwi2011-03-191-1/+0
* - Update to 2.0.0b3miwi2010-05-104-14/+11
* - Respect main variables.lippe2009-10-124-45/+62
* - Now fix to use this port on !i386.lippe2009-09-281-6/+3
* - Mark as BROKEN on !i386.lippe2009-09-281-0/+3