f33abbf72f
Netscape Portable Runtime (NSPR) provides a platform-neutral API for system level and libc like functions. The API is used in the Mozilla client, many of Netscape/AOL/iPlanet's and other software offerings. i386-only for now. From maintainer Kurt Miller <truk@optonline.net>
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2004/01/29 21:57:53 pvalchev Exp $
|
|
# $FreeBSD: /repoman/r/pcvs/ports/devel/nspr/Makefile,v 1.13 2003/12/13 21:30:19 peter Exp $
|
|
|
|
# currently only supporting i386, but alpha sparc sparc64 are possible
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
COMMENT= "Netscape Portable Runtime"
|
|
|
|
VER= 4.4.1
|
|
DISTNAME= nspr-${VER}
|
|
CATEGORIES= devel
|
|
|
|
HOMEPAGE= http://www.mozilla.org/projects/nspr/index.html
|
|
|
|
MAINTAINER= Kurt Miller <truk@optonline.net>
|
|
|
|
# MPL - Mozilla Public License
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= http://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${VER}/src/
|
|
|
|
USE_X11= Yes
|
|
USE_GMAKE= Yes
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_SCRIPT= ../configure
|
|
CONFIGURE_ARGS+= --disable-debug \
|
|
--with-pthreads
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
WRKSRC= ${WRKDIST}/mozilla/nsprpub/build
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/include/nspr
|
|
cd ${WRKSRC}/dist/include && tar cfL - . | \
|
|
(cd ${PREFIX}/include && tar -xf -)
|
|
cd ${WRKSRC}/dist/lib && tar cf - . | \
|
|
(cd ${PREFIX}/lib && tar -xf -)
|
|
${INSTALL_SCRIPT} ${WRKSRC}/config/nspr-config ${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|