aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/expat/Makefile
blob: fc156f8083aefdec6aa77266aadce1e0f060eeb2 (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:    expat
# Date created:     Thu Aug 26 14:38:07 CEST 1999
# Whom:         Dirk Froemberg <dirk@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   expat
PORTVERSION=    1.2
CATEGORIES= textproc
MASTER_SITES=   ftp://ftp.jclark.com/pub/xml/

MAINTAINER= knu@FreeBSD.org

SHLIB_MAJOR=    1

MAKEFILES=  Makefile.lib Makefile.prog
MAKE_ARGS=  CC="${CC}" \
        CFLAGS="${CFLAGS}" \
        SHLIB_MAJOR="${SHLIB_MAJOR}" \
        NOPROFILE=true
PLIST_SUB=  SHLIB_MAJOR="${SHLIB_MAJOR}"

do-build:
.for f in ${MAKEFILES}
    ${CP} ${FILESDIR}/${f} ${WRKSRC}/
.endfor
    ${MV} ${WRKSRC}/xmlwf/* ${WRKSRC}/
    ${RMDIR} ${WRKSRC}/xmlwf
.for f in ${MAKEFILES}
    @(cd ${WRKSRC}; \
    ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${f} ${MAKE_ARGS} ${ALL_TARGET})
.endfor

do-install:
.for f in ${MAKEFILES}
    @(cd ${WRKSRC}; \
    ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${f} ${MAKE_ARGS} ${INSTALL_TARGET})
.endfor

.include <bsd.port.mk>