2000-09-16 01:18:46 -04:00
|
|
|
# New ports collection makefile for: fnorb
|
|
|
|
# Date created: 12 Septermber 2000
|
|
|
|
# Whom: Johann Visagie <johann@egenetics.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= fnorb
|
|
|
|
PORTVERSION= 1.1
|
2001-02-11 12:15:31 -05:00
|
|
|
PORTREVISION= 5
|
2000-09-16 01:18:46 -04: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
|
2000-11-24 10:14:05 -05:00
|
|
|
WRKSRC= ${WRKDIR}/Fnorb-${PORTVERSION}
|
|
|
|
BUILD_WRKSRC= ${WRKSRC}/src
|
|
|
|
INSTALL_WRKSRC= ${BUILD_WRKSRC}
|
2000-09-16 01:18:46 -04:00
|
|
|
USE_PYTHON= yes
|
2000-10-03 11:34:53 -04:00
|
|
|
ALL_TARGET=
|
2000-09-16 01:18:46 -04:00
|
|
|
|
2000-11-24 10:14:05 -05:00
|
|
|
CPIO= cpio --quiet -pdum -R
|
2000-11-01 06:53:01 -05:00
|
|
|
FNORB_DIR= ${PYTHON_SITELIBDIR}/Fnorb
|
2000-09-16 01:18:46 -04:00
|
|
|
FNORB_SHAREDIR= ${PREFIX}/share/fnorb
|
|
|
|
FNORB_DOCDIR= ${PREFIX}/share/doc/fnorb
|
|
|
|
|
2000-11-24 10:14:05 -05:00
|
|
|
do-configure:
|
|
|
|
@ (cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \
|
|
|
|
Makefile.pre.in boot)
|
|
|
|
|
2000-09-16 01:18:46 -04:00
|
|
|
post-install:
|
|
|
|
@ ${MKDIR} ${FNORB_DIR}
|
2000-11-24 10:14:05 -05:00
|
|
|
@ (cd ${WRKSRC} && find *.py compiler cos orb parser \! -name \*.orig \
|
|
|
|
| ${CPIO} ${BINOWN}:${BINGRP} ${FNORB_DIR})
|
|
|
|
@ ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -f ${FNORB_DIR}
|
|
|
|
@ ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py -f ${FNORB_DIR}
|
2000-09-16 01:18:46 -04:00
|
|
|
@ ${MKDIR} ${FNORB_SHAREDIR}
|
2000-11-24 10:14:05 -05:00
|
|
|
@ (cd ${WRKSRC} && find script examples \! -name \*.bat \
|
|
|
|
| ${CPIO} ${SHAREOWN}:${SHAREGRP} ${FNORB_SHAREDIR})
|
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/etc/fnorb.cfg \
|
2000-09-16 01:18:46 -04:00
|
|
|
${PREFIX}/etc/fnorb.cfg.sample
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@ ${MKDIR} ${FNORB_DOCDIR}
|
2000-11-24 10:14:05 -05:00
|
|
|
@ (cd ${WRKSRC}/doc && find . \
|
|
|
|
| ${CPIO} ${MANOWN}:${MANGRP} ${FNORB_DOCDIR})
|
2000-09-16 01:18:46 -04:00
|
|
|
@ (${CHMOD} -R u-x ${FNORB_DOCDIR} && ${CHMOD} -R u+X ${FNORB_DOCDIR})
|
|
|
|
.for file in ANNOUNCE CHANGES README LICENSE.HTML
|
2000-11-24 10:14:05 -05:00
|
|
|
@ ${INSTALL_MAN} ${WRKSRC}/${file} ${FNORB_DOCDIR}
|
2000-09-16 01:18:46 -04:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|