aboutsummaryrefslogtreecommitdiff
path: root/devel/fistgen/Makefile
blob: ab5daba84642ee3b108074a1bc0e5a84c6593b7b (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
35
36
37
38
39
40
41
42
43
44
# Created by: Stanislav Sedov <ssedov@mbsd.msk.ru>
# $FreeBSD$

PORTNAME=	fistgen
PORTVERSION=	0.2.1
CATEGORIES=	devel
MASTER_SITES=	ftp://ftp.filesystems.org/pub/fistgen/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Language for describing stackable filesystems

GNU_CONFIGURE=	yes
MAKE_JOBS_UNSAFE=yes

SUB_FILES=	pkg-message

MAN8=		fistgen.8
PORTDATA=	*
PORTDOCS=	*
PORTEXAMPLES=	*
PLIST_FILES=	sbin/fistgen

NO_STAGE=	yes
post-install:
.if !defined(NOPORTDATA)
	@${MKDIR} ${DATADIR}
.for dir in templates
	@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${dir} ${DATADIR})
.endfor
.endif
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
	@${MKDIR} ${EXAMPLESDIR}
.for dir in copyfs cryptfs gzipfs uuencodefs tests
	@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${dir} ${EXAMPLESDIR})
.endfor
.endif
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>