168a3b02ef
on non-i386 platforms - there is no need to be MD - Don't patch files into existence, use files/ for that - Change wrong LIB_DEPENDS to BUILD_DEPENDS because these libraries are all static. - Add appropriate regress targets with REGRESS_DEPENDS or set NO_REGRESS where such tests are not available. - Do not link with -g
29 lines
662 B
Makefile
29 lines
662 B
Makefile
# $OpenBSD: Makefile,v 1.2 2003/03/03 00:51:37 pvalchev Exp $
|
|
|
|
COMMENT= "Simple regular expression library from Plan 9"
|
|
|
|
VERSION= 2.0
|
|
DISTNAME= libregexp9-${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= utf::devel/libutf \
|
|
fmt::devel/libfmt
|
|
|
|
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>
|