freebsd-ports/misc/xpns/Makefile

40 lines
963 B
Makefile
Raw Normal View History

# Created by: Pedro Giffuni
1999-08-25 09:23:21 +02:00
# $FreeBSD$
2000-04-14 10:49:30 +02:00
PORTNAME= xpns
PORTVERSION= 1.0
PORTREVISION= 3
CATEGORIES= misc cad
MASTER_SITES= http://robotics.ee.uwa.edu.au/pns/ftp/
DISTNAME= pns_source.tar
EXTRACT_SUFX= .Z
MAINTAINER= ports@FreeBSD.org
2003-02-20 20:00:52 +01:00
COMMENT= Petri-Net Simulator for Xwindows
NO_WRKSUBDIR= yes
USE_XORG= x11 xaw
1999-07-04 23:47:32 +02:00
MAKEFILE= makefile
ALL_TARGET= pns
PORTDOCS= *
PLIST_FILES= bin/xpns \
libexec/xpns/pns \
%%DATADIR%%/pns.hlp \
%%DATADIR%%/pns.shell
post-patch:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/xpns
do-install:
2013-12-08 15:11:54 +01:00
(cd ${WRKSRC} && ${INSTALL_SCRIPT} xpns ${STAGEDIR}${PREFIX}/bin)
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/xpns
(cd ${WRKSRC} && ${INSTALL_PROGRAM} pns ${STAGEDIR}${PREFIX}/libexec/xpns)
@${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${WRKSRC} && ${INSTALL_DATA} pns.hlp pns.shell ${STAGEDIR}${DATADIR})
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} *.net ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>