2000-09-16 05:18:46 +00:00
|
|
|
# New ports collection makefile for: fnorb
|
|
|
|
# Date created: 12 Septermber 2000
|
|
|
|
# Whom: Johann Visagie <johann@egenetics.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= fnorb
|
|
|
|
PORTVERSION= 1.1
|
2000-11-08 12:52:04 +00:00
|
|
|
PORTREVISION= 2
|
2000-09-16 05:18:46 +00:00
|
|
|
CATEGORIES= devel python
|
|
|
|
MASTER_SITES= http://www.fnorb.org/download/ \
|
|
|
|
ftp://ftp.dstc.edu.au/DSTC/fnorb/
|
|
|
|
|
|
|
|
MAINTAINER= johann@egenetics.com
|
|
|
|
|
|
|
|
NO_CDROM= Free for academic, research and non-commercial purposes only
|
|
|
|
WRKSRC= ${WRKDIR}/Fnorb-${PORTVERSION}/src
|
|
|
|
USE_PYTHON= yes
|
2000-10-03 15:34:53 +00:00
|
|
|
ALL_TARGET=
|
2000-09-16 05:18:46 +00:00
|
|
|
|
|
|
|
do-configure:
|
|
|
|
@ (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \
|
|
|
|
Makefile.pre.in boot)
|
|
|
|
|
2000-11-01 11:53:01 +00:00
|
|
|
FNORB_DIR= ${PYTHON_SITELIBDIR}/Fnorb
|
2000-09-16 05:18:46 +00:00
|
|
|
FNORB_SHAREDIR= ${PREFIX}/share/fnorb
|
|
|
|
FNORB_DOCDIR= ${PREFIX}/share/doc/fnorb
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@ ${MKDIR} ${FNORB_DIR}
|
|
|
|
@ (cd ${WRKSRC}/../ && find *.py compiler cos orb parser \
|
|
|
|
| cpio --quiet -pdum -R ${BINOWN}:${BINGRP} ${FNORB_DIR})
|
2000-11-01 11:53:01 +00:00
|
|
|
@ ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${FNORB_DIR}
|
|
|
|
@ ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${FNORB_DIR}
|
2000-09-16 05:18:46 +00:00
|
|
|
@ ${MKDIR} ${FNORB_SHAREDIR}
|
|
|
|
@ (cd ${WRKSRC}/../ && find script examples \! -name \*.bat \
|
|
|
|
| cpio --quiet -pdum -R ${SHAREOWN}:${SHAREGRP} ${FNORB_SHAREDIR})
|
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/../etc/fnorb.cfg \
|
|
|
|
${PREFIX}/etc/fnorb.cfg.sample
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@ ${MKDIR} ${FNORB_DOCDIR}
|
|
|
|
@ (cd ${WRKSRC}/../doc && find . \
|
|
|
|
| cpio --quiet -pdum -R ${MANOWN}:${MANGRP} ${FNORB_DOCDIR})
|
|
|
|
@ (${CHMOD} -R u-x ${FNORB_DOCDIR} && ${CHMOD} -R u+X ${FNORB_DOCDIR})
|
|
|
|
.for file in ANNOUNCE CHANGES README LICENSE.HTML
|
|
|
|
@ ${INSTALL_MAN} ${WRKSRC}/../${file} ${FNORB_DOCDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|