summaryrefslogtreecommitdiff
path: root/devel/flux/Makefile
blob: ffde5947633fce333d1498c78a3b9ccd7e8d7d12 (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/fluxlib/ \
		ftp://ftp.styx.net/projects/flux/

MAINTAINER=	ports@FreeBSD.org

USE_GMAKE=	yes
USE_AUOTMAKE_VER=14
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>