openbsd-ports/devel/libfmt/Makefile
pvalchev 893484bf10 - Use common Makefile for all architectures, thus allowing this to build
on non-i386 platforms - there is no need to be MD
- Change wrong LIB_DEPENDS to BUILD_DEPENDS because these libraries
are all static.
- Add 'test' target and turn it into a regress target for the port, using
the provided test.
- Add appropriate REGRESS_DEPENDS

XXX regress currently fails on at least powerpc.
2003-03-02 21:38:18 +00:00

28 lines
624 B
Makefile

# $OpenBSD: Makefile,v 1.2 2003/03/02 21:38:18 pvalchev Exp $
COMMENT= "Extensible formatted print C library"
VERSION= 2.0
DISTNAME= libfmt-${VERSION}
CATEGORIES= devel plan9
MASTER_SITES= ${HOMEPAGE}
HOMEPAGE= http://pdos.lcs.mit.edu/~rsc/software/
MAINTAINER= Markus Friedl <markus@openbsd.org>
EXTRACT_SUFX= .tgz
BUILD_DEPENDS= ::devel/libutf
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
FAKE_FLAGS= PREFIX=${WRKINST}${PREFIX}
REGRESS_TARGET= test
REGRESS_DEPENDS=${BUILD_DEPENDS}
pre-build:
@cp ${FILESDIR}/Make.OpenBSD ${WRKSRC}
.include <bsd.port.mk>