2000-08-17 11:31:54 +02:00
|
|
|
# New ports collection makefile for: mozilla-embedded
|
|
|
|
# Date created: 16 August 2000
|
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mozilla-embedded
|
|
|
|
PORTVERSION= ${MAKE} -V PORTVERSION -f ${MAINDIR}/${MAKEFILE}
|
2001-01-12 18:22:01 +01:00
|
|
|
PORTREVISION= ${MAKE} -V PORTREVISION -f ${MAINDIR}/${MAKEFILE}
|
|
|
|
PORTEPOCH= ${MAKE} -V PORTEPOCH -f ${MAINDIR}/${MAKEFILE}
|
2000-08-17 11:31:54 +02:00
|
|
|
CATEGORIES= www
|
|
|
|
DISTFILES=
|
|
|
|
|
|
|
|
MAINTAINER= sobomax@FreeBSD.org
|
|
|
|
|
2001-06-01 00:22:59 +02:00
|
|
|
BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/www/mozilla:build \
|
2001-05-22 10:15:39 +02:00
|
|
|
zip:${PORTSDIR}/archivers/zip \
|
|
|
|
unzip:${PORTSDIR}/archivers/unzip
|
2000-08-17 11:31:54 +02:00
|
|
|
LIB_DEPENDS= ${MAKE} -V LIB_DEPENDS -f ${MAINDIR}/${MAKEFILE}
|
|
|
|
RUN_DEPENDS= ${MAKE} -V RUN_DEPENDS -f ${MAINDIR}/${MAKEFILE}
|
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
|
|
|
|
MAINDIR= ${.CURDIR}/../mozilla
|
|
|
|
PORTVERSION!= ${PORTVERSION}
|
2002-02-05 18:24:00 +01:00
|
|
|
PORTREVISION!= ${PORTREVISION}
|
2001-01-12 18:22:01 +01:00
|
|
|
PORTEPOCH!= ${PORTEPOCH}
|
2000-08-17 11:31:54 +02:00
|
|
|
RUN_DEPENDS!= ${RUN_DEPENDS}
|
|
|
|
LIB_DEPENDS!= ${LIB_DEPENDS}
|
|
|
|
WRKSRC= ${WRKDIRPREFIX}${MAINDIR}/work/mozilla
|
|
|
|
|
|
|
|
do-build:
|
2001-05-22 14:06:15 +02:00
|
|
|
@cd ${WRKSRC}/embedding/config && ${SETENV} ${MAKE_ENV} ${GMAKE} \
|
2000-08-17 11:31:54 +02:00
|
|
|
${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}
|
2001-05-22 14:06:15 +02:00
|
|
|
@(cd ${WRKSRC}/dist/Embed; \
|
|
|
|
${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ../bin/regxpcom; \
|
|
|
|
${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ../bin/regchrome)
|
|
|
|
@find ${WRKSRC}/dist/Embed -name "*.so" | xargs strip
|
2000-08-17 11:31:54 +02:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${MKDIR} ${PREFIX}/lib/mozilla-embedded
|
|
|
|
${CHMOD} 755 ${PREFIX}/lib/mozilla-embedded
|
2002-04-22 18:58:31 +02:00
|
|
|
cd ${WRKSRC}/dist/Embed && ${FIND} . | \
|
2002-08-10 03:03:06 +02:00
|
|
|
cpio -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/lib/mozilla-embedded
|
2000-08-17 11:31:54 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|