aboutsummaryrefslogtreecommitdiffstats
path: root/www/mozilla-headers/Makefile
blob: 7986333a73fd66f1cea758a93f92ca7b0d172d00 (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
# 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}
RUN_DEPENDS!=   ${RUN_DEPENDS}
LIB_DEPENDS!=   ${LIB_DEPENDS}
WRKSRC=     ${WRKDIRPREFIX}${MAINDIR}/work/mozilla
USE_GMAKE=  yes
ALL_TARGET= export

post-build:
    @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} BUILD_MODULES=psm \
        ${ALL_TARGET}

do-install:
    ${MKDIR} ${PREFIX}/include/mozilla
    ${CHMOD} 755 ${PREFIX}/include/mozilla
    cd ${WRKSRC}/dist/include && ${TAR} -chf - . | \
        ${TAR} --unlink -xf - -C ${PREFIX}/include/mozilla

.include <bsd.port.mk>