2001-05-29 15:45:06 +02:00
|
|
|
# New ports collection makefile for: ZThread
|
|
|
|
# Date created: 23 May 2001
|
|
|
|
# Whom: pvh@egenetics.com
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= zthread
|
2006-04-29 14:19:45 +02:00
|
|
|
PORTVERSION= 2.3.2
|
2001-05-29 15:45:06 +02:00
|
|
|
CATEGORIES= devel
|
2004-04-18 17:40:54 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2001-05-29 15:45:06 +02:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
DISTNAME= ZThread-${PORTVERSION}
|
|
|
|
|
2006-04-29 16:21:10 +02:00
|
|
|
MAINTAINER= shaun@inerd.com
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A platform-independent object-oriented C++ threading library
|
2001-05-29 15:45:06 +02:00
|
|
|
|
2001-11-14 11:45:03 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2005-10-05 16:18:32 +02:00
|
|
|
CONFIGURE_ARGS= --without-ftime --disable-static
|
2001-05-29 15:45:06 +02:00
|
|
|
USE_GMAKE= yes
|
2005-10-05 16:18:32 +02:00
|
|
|
MAKE_ARGS+= INSTALL_PROGRAM="${INSTALL_SCRIPT}"
|
|
|
|
MAKE_ENV+= SED=sed # req'd for LIBTOOL?!
|
2001-07-03 15:23:30 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2001-11-14 11:45:03 +01:00
|
|
|
|
2006-04-29 14:19:45 +02:00
|
|
|
PORTDOCS= AUTHORS ChangeLog NEWS README TODO
|
2004-02-09 02:05:57 +01:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2004-04-18 17:40:54 +02:00
|
|
|
.if ${OSVERSION} < 500000
|
2005-10-05 16:18:32 +02:00
|
|
|
USE_GCC= 3.3+
|
2004-04-18 17:40:54 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@${FIND} ${WRKSRC} -name CVS -type d -delete
|
|
|
|
|
2006-04-29 14:19:45 +02:00
|
|
|
post-patch:
|
|
|
|
@${FIND} ${WRKSRC} \( -name '*.orig' -or -name '*.swp' \) -delete
|
|
|
|
|
2001-11-14 11:45:03 +01:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2006-04-29 14:19:45 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
2001-11-14 11:45:03 +01:00
|
|
|
.endif
|
2001-05-29 15:45:06 +02:00
|
|
|
|
2004-02-09 02:05:57 +01:00
|
|
|
.include <bsd.port.post.mk>
|