freebsd-ports/devel/pth/Makefile
FUJISHIMA Satsuki 73fbc4e19c install headers/libraries under its own directory, ${PREFIX}/includes/pth and
${PREFIX}/lib/pth, to avoid conflict with FreeBSD pthread.
2001-09-11 14:49:45 +00:00

37 lines
763 B
Makefile

# New ports collection makefile for: pth
# Date Created: 23 May 1999
# Whom: Ralf S. Engelschall
#
# $FreeBSD$
#
PORTNAME= pth
PORTVERSION= 1.4.0
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU} \
ftp://ftp.engelschall.com/sw/pth/
MASTER_SITE_SUBDIR= pth
MAINTAINER= ports@FreeBSD.org
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= %%PREFIX%%/lib/pth
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-pthread \
--enable-syscall-soft \
--enable-optimize \
--enable-batch \
--includedir="${PREFIX}/include/pth" \
--libdir="${PREFIX}/lib/pth"
MAN1= pth-config.1 pthread-config.1
MAN3= pth.3 pthread.3
post-build:
@${ECHO_MSG} "===> Use 'make test' to run a quick test suite."
test:
@cd ${WRKSRC} && ${MAKE} test
.include <bsd.port.mk>