2006-11-03 15:56:23 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2006/11/03 20:56:23 ajacoutot Exp $
|
2004-01-29 16:57:53 -05:00
|
|
|
# $FreeBSD: /repoman/r/pcvs/ports/devel/nspr/Makefile,v 1.13 2003/12/13 21:30:19 peter Exp $
|
|
|
|
|
2006-11-03 15:56:23 -05:00
|
|
|
ONLY_FOR_ARCHS= i386 powerpc amd64 sparc64
|
2004-01-29 16:57:53 -05:00
|
|
|
|
|
|
|
COMMENT= "Netscape Portable Runtime"
|
|
|
|
|
|
|
|
VER= 4.4.1
|
|
|
|
DISTNAME= nspr-${VER}
|
2006-11-03 15:56:23 -05:00
|
|
|
PKGNAME= ${DISTNAME}p3
|
2006-01-07 14:45:35 -05:00
|
|
|
SHARED_LIBS= nspr4 1.0 \
|
|
|
|
plc4 1.0 \
|
|
|
|
plds4 1.0
|
|
|
|
|
2004-01-29 16:57:53 -05:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.mozilla.org/projects/nspr/index.html
|
|
|
|
|
2006-11-03 15:56:23 -05:00
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
2004-01-29 16:57:53 -05:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2004-10-25 05:02:53 -04:00
|
|
|
AUTOCONF_VERSION= 2.13
|
|
|
|
CONFIGURE_STYLE= autoconf no-autoheader
|
2004-01-29 16:57:53 -05:00
|
|
|
CONFIGURE_ARGS+= --disable-debug \
|
|
|
|
--with-pthreads
|
|
|
|
|
2006-01-07 14:45:35 -05:00
|
|
|
MAKE_ENV= LIBnspr4_VERSION=${LIBnspr4_VERSION} \
|
|
|
|
LIBplc4_VERSION=${LIBplc4_VERSION} \
|
|
|
|
LIBplds4_VERSION=${LIBplds4_VERSION}
|
|
|
|
|
2004-01-29 16:57:53 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2004-10-25 05:02:53 -04:00
|
|
|
WRKSRC= ${WRKDIST}/mozilla/nsprpub
|
|
|
|
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/build/autoconf
|
2004-01-29 16:57:53 -05:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/include/nspr
|
|
|
|
cd ${WRKSRC}/dist/include && tar cfL - . | \
|
|
|
|
(cd ${PREFIX}/include && tar -xf -)
|
2004-08-10 03:24:49 -04:00
|
|
|
cd ${WRKSRC}/dist/lib && tar cfL - . | \
|
2004-01-29 16:57:53 -05:00
|
|
|
(cd ${PREFIX}/lib && tar -xf -)
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/config/nspr-config ${PREFIX}/bin
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|