mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
83e7bbbdc5
I thought I should allow users to pass those variables from command line (make CFLAGS='-O6', etc.), but it wasn't supposed to work anyway. Pointy hat to: knu (Halloween is over, hah!)
40 lines
869 B
Makefile
40 lines
869 B
Makefile
# 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= 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>
|