diff options
author | Eitan Adler <eadler@FreeBSD.org> | 2013-03-25 04:30:31 +0000 |
---|---|---|
committer | Eitan Adler <eadler@FreeBSD.org> | 2013-03-25 04:30:31 +0000 |
commit | fd37d8821fdc48edb0c489017447cb8ee865c5b9 (patch) | |
tree | e9502ec9d580c1cb296d2b6e887c07a0737f2b7c /misc/xpns | |
parent | 48c429ec3a76441cc6a3dba681f911b9b7eccb7f (diff) | |
download | ports-fd37d8821fdc48edb0c489017447cb8ee865c5b9.tar.gz ports-fd37d8821fdc48edb0c489017447cb8ee865c5b9.zip |
Notes
Diffstat (limited to 'misc/xpns')
-rw-r--r-- | misc/xpns/Makefile | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/misc/xpns/Makefile b/misc/xpns/Makefile index 840a231575dd..ad68b52434cb 100644 --- a/misc/xpns/Makefile +++ b/misc/xpns/Makefile @@ -1,16 +1,13 @@ -# New ports collection makefile for: xpns -# Date created: 6 Apr 97 -# Whom: Pedro Giffuni -# +# Created by: 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 +DISTNAME= pns_source.tar +EXTRACT_SUFX= .Z MAINTAINER= ports@FreeBSD.org COMMENT= Petri-Net Simulator for Xwindows @@ -20,6 +17,8 @@ USE_XORG= x11 xaw MAKEFILE= makefile ALL_TARGET= pns +.include <bsd.port.options.mk> + post-patch: @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/xpns @@ -30,7 +29,7 @@ do-install: ${MKDIR} ${PREFIX}/share/xpns ${INSTALL_DATA} ${WRKSRC}/pns.hlp ${PREFIX}/share/xpns ${INSTALL_DATA} ${WRKSRC}/pns.shell ${PREFIX}/share/xpns -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${PREFIX}/share/doc/xpns ${INSTALL_DATA} ${WRKSRC}/*.net ${PREFIX}/share/doc/xpns .endif |