head	1.14;
access;
symbols
	RELEASE_5_1_0:1.13
	RELEASE_4_8_0:1.13
	RELEASE_5_0_0:1.12
	old_RELEASE_4_7_0:1.8
	old_RELEASE_4_6_2:1.5
	old_RELEASE_4_6_1:1.5
	old_RELEASE_4_6_0:1.5
	old_RELEASE_5_0_DP1:1.4
	old_RELEASE_4_5_0:1.4
	old_RELEASE_4_4_0:1.4
	old_RELEASE_4_3_0:1.1;
locks; strict;
comment	@# @;


1.14
date	2003.07.01.06.16.06;	author marcus;	state dead;
branches;
next	1.13;

1.13
date	2003.03.07.06.12.46;	author ade;	state Exp;
branches;
next	1.12;

1.12
date	2002.11.18.02.30.39;	author marcus;	state Exp;
branches;
next	1.11;

1.11
date	2002.11.14.18.29.10;	author marcus;	state Exp;
branches;
next	1.10;

1.10
date	2002.10.26.04.22.43;	author marcus;	state Exp;
branches;
next	1.9;

1.9
date	2002.10.22.03.42.23;	author marcus;	state Exp;
branches;
next	1.8;

1.8
date	2002.09.03.20.45.58;	author marcus;	state Exp;
branches;
next	1.7;

1.7
date	2002.08.29.17.29.55;	author marcus;	state Exp;
branches;
next	1.6;

1.6
date	2002.05.30.10.05.23;	author alfred;	state Exp;
branches;
next	1.5;

1.5
date	2002.04.13.17.06.30;	author marcus;	state Exp;
branches;
next	1.4;

1.4
date	2001.06.13.09.15.59;	author sobomax;	state Exp;
branches;
next	1.3;

1.3
date	2001.05.31.22.22.58;	author ade;	state Exp;
branches;
next	1.2;

1.2
date	2001.05.22.08.13.44;	author sobomax;	state Exp;
branches;
next	1.1;

1.1
date	2001.02.01.11.43.48;	author sobomax;	state Exp;
branches;
next	;


desc
@@


1.14
log
@Remove mozilla-vendor.  Mozilla 1.4 is the new standard across the board.
@
text
@# New ports collection makefile for:	mozilla-headers
# Date created:				1 February 2001
# Whom:					Maxim Sobolev <sobomax@@FreeBSD.org>
#
# $FreeBSD: ports/www/mozilla-headers-vendor/Makefile,v 1.13 2003/03/07 06:12:46 ade Exp $
#

PORTNAME=	mozilla-headers
PORTVERSION=	${MAKE} -V PORTVERSION -f ${MAINDIR}/${MKFILE}
PORTREVISION=	${MAKE} -V PORTREVISION -f ${MAINDIR}/${MKFILE}
PORTEPOCH=	${MAKE} -V PORTEPOCH -f ${MAINDIR}/${MKFILE}
CATEGORIES=	www
DISTFILES=

MAINTAINER=	sobomax@@FreeBSD.org
COMMENT=	Header files for mozilla communicator web-surfboard

BUILD_DEPENDS=	${NONEXISTENT}:${PORTSDIR}/www/mozilla-vendor:configure

USE_X_PREFIX=	yes

LATEST_LINK=	mozilla-headers-vendor
PLIST=		${WRKSRC}/pkg-plist
MAINDIR=	${.CURDIR}/../mozilla-vendor
MKFILE!=	/usr/bin/basename ${MAKEFILE}
PORTVERSION!=	${PORTVERSION}
PORTREVISION!=	${PORTREVISION}
PORTEPOCH!=	${PORTEPOCH}
WRKSRC=		${WRKDIRPREFIX}${MAINDIR}/work/mozilla
USE_GMAKE=	yes
ALL_TARGET=	export

.if defined(INCOWN) || defined(INCGRP)
CPIOOWN=	-R ${INCOWN}:${INCGRP}
.endif

pre-install:
	${RM} -f ${PLIST}
	${TOUCH} -f ${PLIST}
	cd ${WRKSRC}/dist/include && ${FIND} -s * -type f -o -type l | \
		${SED} -e 's:^:include/mozilla-vendor/:' >> ${PLIST} \
		&& ${FIND} -d * -type d | \
		${SED} -e 's:^:@@dirrm include/mozilla-vendor/:' >> ${PLIST}
	${ECHO_CMD} @@dirrm include/mozilla-vendor >> ${PLIST}

do-install:
	-${RM} -fr ${PREFIX}/include/mozilla-vendor
	${MKDIR} ${PREFIX}/include/mozilla-vendor
	${CHMOD} 755 ${PREFIX}/include/mozilla-vendor
	cd ${WRKSRC}/dist/include && ${FIND} . | \
		cpio -pdm -L ${CPIOOWN} ${PREFIX}/include/mozilla-vendor

.include <bsd.port.mk>
@


1.13
log
@Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.12
log
@Make these ports correctly survive a make reinstall.
@
text
@d16 1
@


1.11
log
@Fix a typo that prevented empty directories from being removed.
@
text
@d37 1
@


1.10
log
@Fix typos preventing correct package building.

Submitted by:	bento
@
text
@d40 1
a40 1
		&& ${FIND} -d * -type f | \
@


1.9
log
@This commit includes:

* mozilla-*vendor ports (currently for Mozilla 1.0.1)
* mozilla* ports (currently for Mozilla 1.1)
* mozilla-*devel ports (currently for Mozilla 1.2b)

Special thanks goes to trevor for auto-generating plist patches, cy for
pointing out that the Mozilla startup scripts need to be tailored for
each version of Mozilla, grog for suggesting that some verbage needs to
be added to explain the Java plugin messages at startup, and John
Merryweather Cooper for suggesting a common plugin directory. Of course,
thanks also goes to the user community for suggestions and support.

These ports offer:

* Complete coexistence with each other
* A universal ${PREFIX}/lib/browser_plugins directory
* Auto-generated plists for ease of maintenance
* More accurate pkg-descr's
* A pkg-message pointing users to java/jdk13 for the Java plugin

PR:	42870 42941
Reviewed by:	ports gnome
@
text
@d39 1
a39 1
		${SED} -e ':^:include/mozilla-vendor/:' >> ${PLIST} \
@


1.8
log
@Add mozilla-*-devel after a repo copy from mozilla.

NOTE: mozilla-*-devel is now Mozilla 1.1.  mozilla-* (without the -devel) is
back to Mozilla 1.0.  mozilla.org states that 1.1 is their new bleeding edge
release, and 1.0 is still the stable release.  The release cycle diagram also
indicates that a Mozilla 1.0.1 is coming.

For all users that upgraded from Mozilla 1.0 to 1.1, be aware that running
a blind portupgrade on mozilla will give you mozilla-1.0!  If you want to
keep Mozilla 1.1, you will have to change the origin of you mozilla ports to
point to their -devel counterparts.

The -devel ports will install files into -devel directories.  Therefore,
both mozilla and mozilla-devel can coexist.
@
text
@d17 1
a17 1
BUILD_DEPENDS=	${NONEXISTENT}:${PORTSDIR}/www/mozilla:configure
d21 3
a23 1
MAINDIR=	${.CURDIR}/../mozilla
d36 8
d45 3
a47 3
	-${RM} -fr ${PREFIX}/include/mozilla
	${MKDIR} ${PREFIX}/include/mozilla
	${CHMOD} 755 ${PREFIX}/include/mozilla
d49 1
a49 1
		cpio -pdm -L ${CPIOOWN} ${PREFIX}/include/mozilla
@


1.7
log
@Allow mozilla-embedded and mozilla-headers to build when the -f makefile
option is specified.

Reported by:	Dan Langille <dan@@langille.org>
Tested by:	Dan Langille <dan@@langille.org>
@
text
@@


1.6
log
@Unbreak port if INCOWN and INCGRP are not defined.
Basically don't pass a bogus -R argument to cpio ":" when INCOWN and INCGRP
are not defined.

Reviewed by: sobomax
@
text
@d9 3
a11 3
PORTVERSION=	${MAKE} -V PORTVERSION -f ${MAINDIR}/${MAKEFILE}
PORTREVISION=	${MAKE} -V PORTREVISION -f ${MAINDIR}/${MAKEFILE}
PORTEPOCH=	${MAKE} -V PORTEPOCH -f ${MAINDIR}/${MAKEFILE}
d22 1
@


1.5
log
@Allow installed files to have correct permissions when built by a non-root
user.

PR:		35980
Submitted by:	Alan Eldridge <ports@@geeksrus.net>
Reviewed by:	sobomax
Approved by:	sobomax
@
text
@d29 4
d38 1
a38 1
		cpio -pdm -L -R ${INCOWN}:${INCGRP} ${PREFIX}/include/mozilla
@


1.4
log
@Several cleanups:
- remove local hack used to build PSM and use vendor-supplied procedure
  instead;
- remove superfluous chmod;
- remove several leftovers from mozilla-headers/Makefile.

Submitted by:	Szilveszter Adam <sziszi@@petra.hos.u-szeged.hu>, sobomax
@
text
@d30 1
d33 2
a34 2
	${TAR} -C ${WRKSRC}/dist/include -chf - . | \
		${TAR} -C ${PREFIX}/include/mozilla --unlink -xf -
@


1.3
log
@Replace last remnants of "nonexistent", "/nonexistent" etc. with
${NONEXISTENT} as per bsd.port.mk
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mozilla-headers/Makefile,v 1.2 2001/05/22 08:13:44 sobomax Exp $
a24 2
RUN_DEPENDS!=	${RUN_DEPENDS}
LIB_DEPENDS!=	${LIB_DEPENDS}
a28 4
post-build:
	@@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} BUILD_MODULES=psm \
		${ALL_TARGET}

d32 2
a33 2
	cd ${WRKSRC}/dist/include && ${TAR} -chf - . | \
		${TAR} --unlink -xf - -C ${PREFIX}/include/mozilla
@


1.2
log
@Update to 0.9.
@
text
@d5 1
a5 1
# $FreeBSD$
d17 1
a17 1
BUILD_DEPENDS=	/nonexistent:${PORTSDIR}/www/mozilla:configure
@


1.1
log
@Split mozilla even more. This port is to provide set of Mozilla headers
required to compile Gecko-using software (nautilus, galeon etc).
@
text
@d31 4
@

