freebsd-ports/misc/xpns/Makefile

39 lines
958 B
Makefile
Raw Normal View History

# New ports collection makefile for: xpns
# Date created: 6 Apr 97
# Whom: Pedro Giffuni
#
1999-08-25 09:23:21 +02:00
# $FreeBSD$
#
2000-04-14 10:49:30 +02:00
PORTNAME= xpns
PORTVERSION= 1.0
CATEGORIES= misc cad
MASTER_SITES= http://www.ee.uwa.edu.au/~braunl/pns/ftp/
2000-04-14 10:49:30 +02:00
DISTFILES= pns_source.tar.Z
MAINTAINER= ports@FreeBSD.org
2003-02-20 20:00:52 +01:00
COMMENT= Petri-Net Simulator for Xwindows
USE_REINPLACE= yes
NO_WRKSUBDIR= yes
USE_X_PREFIX= yes
1999-07-04 23:47:32 +02:00
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>