1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-25 21:07:40 +00:00
freebsd-ports/textproc/expat/Makefile
Akinori MUSHA 83e7bbbdc5 D'oh! Back out the previous commit.
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!)
2000-11-02 02:53:20 +00:00

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>