pkgsrc/x11/xpns/Makefile

33 lines
915 B
Makefile

# $NetBSD: Makefile,v 1.19 2005/06/17 03:50:45 jlam Exp $
DISTNAME= pns_source
PKGNAME= xpns-1.0
CATEGORIES= x11 cad
MASTER_SITES= ftp://ftp.informatik.uni-stuttgart.de/pub/petri-nets/
EXTRACT_SUFX= .tar.Z
MAINTAINER= pgiffuni@fps.biblos.unal.edu.co
HOMEPAGE= http://www.informatik.uni-stuttgart.de/ipvr/bv/pns/pns.html
COMMENT= Petri-Net Simulator for Xwindows
WRKSRC= ${WRKDIR}
USE_X11BASE= yes
MAKEFILE= makefile
BUILD_TARGET= pns
INSTALLATION_DIRS= bin
.include "../../mk/x11.buildlink3.mk"
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/xpns
${INSTALL_PROGRAM} ${WRKSRC}/pns ${PREFIX}/lib/xpns/
${INSTALL_DATA} ${WRKSRC}/pns.hlp ${PREFIX}/lib/xpns/
${INSTALL_DATA} ${WRKSRC}/pns.shell ${PREFIX}/lib/xpns/
${INSTALL_SCRIPT} ${WRKSRC}/xpns ${PREFIX}/bin/xpns
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xpns
${CP} ${WRKSRC}/*.net ${PREFIX}/share/doc/xpns/
.include "../../mk/bsd.pkg.mk"