blob: 840a231575dd9f64506cc85e19dcf178b5b5e5f7 (
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
|
# New ports collection makefile for: xpns
# Date created: 6 Apr 97
# Whom: Pedro Giffuni
#
# $FreeBSD$
#
PORTNAME= xpns
PORTVERSION= 1.0
PORTREVISION= 3
CATEGORIES= misc cad
MASTER_SITES= http://robotics.ee.uwa.edu.au/pns/ftp/
DISTFILES= pns_source.tar.Z
MAINTAINER= ports@FreeBSD.org
COMMENT= Petri-Net Simulator for Xwindows
NO_WRKSUBDIR= yes
USE_XORG= x11 xaw
MAKEFILE= makefile
ALL_TARGET= pns
post-patch:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/xpns
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/xpns ${PREFIX}/bin/xpns
${MKDIR} ${PREFIX}/libexec/xpns
${INSTALL_PROGRAM} ${WRKSRC}/pns ${PREFIX}/libexec/xpns
${MKDIR} ${PREFIX}/share/xpns
${INSTALL_DATA} ${WRKSRC}/pns.hlp ${PREFIX}/share/xpns
${INSTALL_DATA} ${WRKSRC}/pns.shell ${PREFIX}/share/xpns
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/xpns
${INSTALL_DATA} ${WRKSRC}/*.net ${PREFIX}/share/doc/xpns
.endif
.include <bsd.port.mk>
|