1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00
freebsd-ports/www/mozilla-headers-devel/Makefile
Joe Marcus Clarke 7058cbdec0 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
2002-04-13 17:06:30 +00:00

37 lines
965 B
Makefile

# New ports collection makefile for: mozilla-headers
# Date created: 1 February 2001
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= mozilla-headers
PORTVERSION= ${MAKE} -V PORTVERSION -f ${MAINDIR}/${MAKEFILE}
PORTREVISION= ${MAKE} -V PORTREVISION -f ${MAINDIR}/${MAKEFILE}
PORTEPOCH= ${MAKE} -V PORTEPOCH -f ${MAINDIR}/${MAKEFILE}
CATEGORIES= www
DISTFILES=
MAINTAINER= sobomax@FreeBSD.org
BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/www/mozilla:configure
USE_X_PREFIX= yes
MAINDIR= ${.CURDIR}/../mozilla
PORTVERSION!= ${PORTVERSION}
PORTREVISION!= ${PORTREVISION}
PORTEPOCH!= ${PORTEPOCH}
WRKSRC= ${WRKDIRPREFIX}${MAINDIR}/work/mozilla
USE_GMAKE= yes
ALL_TARGET= export
do-install:
-${RM} -fr ${PREFIX}/include/mozilla
${MKDIR} ${PREFIX}/include/mozilla
${CHMOD} 755 ${PREFIX}/include/mozilla
cd ${WRKSRC}/dist/include && ${FIND} . | \
cpio -pdm -L -R ${INCOWN}:${INCGRP} ${PREFIX}/include/mozilla
.include <bsd.port.mk>