blob: ec58168de9146d8daa6f54975a5f5c967f81afe0 (
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
45
46
47
48
49
|
# ex:ts=8
# Ports collection makefile for: pipe
# Date created: Feb 9, 2004
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= pipe
PORTVERSION= 0.b.1.0
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= petri-net
DISTNAME= ${PORTNAME}-beta-1.0
MAINTAINER= ports@FreeBSD.org
COMMENT= Platform Independent Petri-Net Editor
BROKEN= Size mismatch
USE_ZIP= yes
WRKSRC= ${WRKDIR}/PIPE
NO_WRKSUBDIR= yes
NO_BUILD= yes
USE_JAVA= yes
PLIST_FILES= bin/pipe
.if !defined(NOPORTDOCS)
PORTDOCS= *
.endif
post-extract:
@${SED} 's,%%DATADIR%%,${DATADIR},' ${FILESDIR}/pipe > ${WRKSRC}/pipe
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/pipe ${PREFIX}/bin
@${MKDIR} ${DATADIR}
${CP} -R ${WRKSRC}/bin/ ${DATADIR}
@${FIND} ${DATADIR} ! -type d | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${DATADIR} -type d | ${SORT} -r | \
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${CP} -R ${WRKSRC}/doc/ ${DOCSDIR}
.endif
.include <bsd.port.mk>
|