freebsd-ports/devel/zthread/Makefile
Ade Lovett 54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00

54 lines
1.2 KiB
Makefile

# New ports collection makefile for: ZThread
# Date created: 23 May 2001
# Whom: pvh@egenetics.com
#
# $FreeBSD$
#
PORTNAME= zthread
PORTVERSION= 2.3.1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ZThread-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A platform-independent object-oriented C++ threading library
USE_AUTOTOOLS= libtool:15:inc
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-ftime --disable-static
USE_GMAKE= yes
MAKE_ARGS+= INSTALL_PROGRAM="${INSTALL_SCRIPT}"
MAKE_ENV+= SED=sed # req'd for LIBTOOL?!
INSTALLS_SHLIB= yes
.if !defined(NOPORTDOCS)
PORTDOCS= *
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
USE_GCC= 3.3+
.endif
post-extract:
@${FIND} ${WRKSRC} -name CVS -type d -delete
pre-configure:
@${CP} ${LTMAIN} ${WRKSRC}
post-install:
@${FIND} ${PREFIX}/include/zthread -type f | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${ECHO_CMD} "@dirrm include/zthread" >> ${TMPPLIST}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}/html
.for docfile in AUTHORS ChangeLog NEWS README TODO
${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
.endfor
${CP} -R ${WRKSRC}/doc/html/ ${DOCSDIR}/html
.endif
.include <bsd.port.post.mk>