aboutsummaryrefslogtreecommitdiffstats
path: root/www/mozilla-headers-devel/Makefile
blob: bbcd570714d9f76f2a7a62e8c058843fc57ab83b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# 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}/${MKFILE}
PORTREVISION=   ${MAKE} -V PORTREVISION -f ${MAINDIR}/${MKFILE}
PORTEPOCH=  ${MAKE} -V PORTEPOCH -f ${MAINDIR}/${MKFILE}
CATEGORIES= www
DISTFILES=

MAINTAINER= sobomax@FreeBSD.org

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

USE_X_PREFIX=   yes

NO_LATEST_LINK= yes

MAINDIR=    ${.CURDIR}/../mozilla-devel
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

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

.include <bsd.port.mk>