openbsd-ports/devel/pth/Makefile

35 lines
847 B
Makefile
Raw Normal View History

2001-03-26 18:54:42 -05:00
# $OpenBSD: Makefile,v 1.5 2001/03/26 23:54:42 brad Exp $
2001-03-26 18:54:42 -05:00
COMMENT= "GNU portable threads"
DISTNAME= pth-1.4.0
CATEGORIES= devel
2001-03-26 18:54:42 -05:00
NEED_VERSION= 1.363
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= pth
HOMEPAGE= http://www.gnu.org/software/pth/
2000-09-24 03:03:59 -04:00
MAINTAINER= Brad Smith <brad@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
2001-03-26 18:54:42 -05:00
CONFIGURE_ARGS+= --enable-static --enable-pthread \
--enable-syscall-soft --enable-optimize \
--enable-batch \
--includedir="${PREFIX}/include/pth" \
--libdir="${PREFIX}/lib/pth"
post-build:
@${ECHO_MSG} "===> Use 'make test' to run a quick test suite."
test: build
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} -f ${MAKE_FILE} test
.include <bsd.port.mk>