aboutsummaryrefslogtreecommitdiffstats
path: root/devel/zthread/Makefile
blob: 67683d8dd47d7837290cec358242877983971b9a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# New ports collection makefile for:    ZThread
# Date created:             23 May 2001
# Whom:                 pvh@egenetics.com
#
# $FreeBSD$
#

PORTNAME=   zthread
PORTVERSION=    1.5.1
CATEGORIES= devel
MASTER_SITES=   http://www.cs.buffalo.edu/~crahen/projects/zthread/ \
        ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME=   ZThread-${PORTVERSION}

MAINTAINER= wjv@FreeBSD.org

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_LIBTOOL=    yes
INSTALLS_SHLIB= yes
EXAMPLESDIR=    ${PREFIX}/share/examples/${PORTNAME}

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}/html ${EXAMPLESDIR}
.for docfile in AUTHORS ChangeLog NEWS README TODO
    ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
.endfor
    ${INSTALL_DATA} ${WRKSRC}/doc/html/* ${DOCSDIR}/html
    ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>