mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
- Add LICENSE
- Add missing xorg depends - Switch to options helpers
This commit is contained in:
parent
4e69251c6d
commit
ebdbb01309
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=455042
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= xpns
|
||||
PORTVERSION= 1.0
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= misc cad
|
||||
MASTER_SITES= http://robotics.ee.uwa.edu.au/pns/ftp/
|
||||
DISTNAME= pns_source.tar
|
||||
@ -12,28 +12,39 @@ EXTRACT_SUFX= .Z
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Petri-Net Simulator for Xwindows
|
||||
|
||||
LICENSE= NONE
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
USE_XORG= x11 xaw
|
||||
USE_XORG= x11 xaw xmu xt xext
|
||||
MAKEFILE= makefile
|
||||
ALL_TARGET= pns
|
||||
|
||||
PORTDOCS= *
|
||||
PORTEXAMPLES= *
|
||||
PLIST_FILES= bin/xpns \
|
||||
libexec/xpns/pns \
|
||||
%%DATADIR%%/pns.hlp \
|
||||
%%DATADIR%%/pns.shell
|
||||
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/xpns
|
||||
|
||||
do-install:
|
||||
(cd ${WRKSRC} && ${INSTALL_SCRIPT} xpns ${STAGEDIR}${PREFIX}/bin)
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/xpns ${STAGEDIR}${PREFIX}/bin
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/xpns
|
||||
(cd ${WRKSRC} && ${INSTALL_PROGRAM} pns ${STAGEDIR}${PREFIX}/libexec/xpns)
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/pns ${STAGEDIR}${PREFIX}/libexec/xpns
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} pns.hlp pns.shell ${STAGEDIR}${DATADIR})
|
||||
${INSTALL_DATA} ${WRKSRC}/pns.hlp ${WRKSRC}/pns.shell ${STAGEDIR}${DATADIR}
|
||||
|
||||
do-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} *.net ${STAGEDIR}${DOCSDIR})
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
do-install-EXAMPLES-on:
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/*.net ${STAGEDIR}${EXAMPLESDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user