2013-03-25 05:30:31 +01:00
|
|
|
# Created by: Pedro Giffuni
|
1999-08-25 09:23:21 +02:00
|
|
|
# $FreeBSD$
|
1997-06-24 08:07:27 +02:00
|
|
|
|
2000-04-14 10:49:30 +02:00
|
|
|
PORTNAME= xpns
|
|
|
|
PORTVERSION= 1.0
|
2009-01-23 17:28:36 +01:00
|
|
|
PORTREVISION= 3
|
1997-06-24 08:07:27 +02:00
|
|
|
CATEGORIES= misc cad
|
2005-10-12 01:31:08 +02:00
|
|
|
MASTER_SITES= http://robotics.ee.uwa.edu.au/pns/ftp/
|
2013-03-25 05:30:31 +01:00
|
|
|
DISTNAME= pns_source.tar
|
|
|
|
EXTRACT_SUFX= .Z
|
1997-06-24 08:07:27 +02:00
|
|
|
|
2001-08-23 22:21:52 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= Petri-Net Simulator for Xwindows
|
1997-06-24 08:07:27 +02:00
|
|
|
|
|
|
|
NO_WRKSUBDIR= yes
|
2013-06-04 12:04:47 +02:00
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_XORG= x11 xaw
|
1999-07-04 23:47:32 +02:00
|
|
|
MAKEFILE= makefile
|
1997-06-24 08:07:27 +02:00
|
|
|
ALL_TARGET= pns
|
2013-06-04 12:04:47 +02:00
|
|
|
|
|
|
|
PORTDOCS= *
|
|
|
|
PLIST_FILES= bin/xpns \
|
|
|
|
libexec/xpns/pns \
|
|
|
|
%%DATADIR%%/pns.hlp \
|
|
|
|
%%DATADIR%%/pns.shell
|
1997-06-24 08:07:27 +02:00
|
|
|
|
2000-10-13 22:22:31 +02:00
|
|
|
post-patch:
|
2002-06-22 19:23:30 +02:00
|
|
|
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/xpns
|
2000-10-13 22:22:31 +02:00
|
|
|
|
1997-06-24 08:07:27 +02:00
|
|
|
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})
|
1997-06-24 08:07:27 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|