aboutsummaryrefslogtreecommitdiffstats
path: root/devel/flux/Makefile
blob: 677f1e38cdafd80caeeac6b2360998fc42d924f3 (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
# New ports collection makefile for:    flux
# Date created:     18 Dec 1999
# Whom:         Will Andrews <andrews@technologist.com>
#
# $FreeBSD$
#

PORTNAME=   flux
PORTVERSION=    0.4.1
CATEGORIES= devel
MASTER_SITES=   ftp://ftp.copyleft.no/projects/flux/ \
        ftp://ftp.styx.net/projects/flux/

MAINTAINER= ports@FreeBSD.org

USE_GMAKE=  yes
USE_AUTOMAKE=   yes
USE_LIBTOOL=    yes
INSTALLS_SHLIB= yes

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${PREFIX}/share/doc/flux
    ${TAR} -C ${WRKSRC}/doc --exclude ChangeLog -cf - . | \
        ${TAR} -C ${PREFIX}/share/doc/flux --unlink -xf -
    @find ${PREFIX}/share/doc/flux | xargs ${CHOWN} ${SHAREOWN}:${SHAREGRP}
    @find ${PREFIX}/share/doc/flux -type f | xargs ${CHMOD} ${SHAREMODE}
.for DOC in AUTHORS NEWS README TODO
    ${INSTALL_DATA} ${WRKSRC}/${DOC} ${PREFIX}/share/doc/flux
.endfor
.endif

.include <bsd.port.mk>