diff options
author | Will Andrews <will@FreeBSD.org> | 2000-09-16 05:18:46 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2000-09-16 05:18:46 +0000 |
commit | c8f0ea860e064d38620490dfc70b26071f9c654f (patch) | |
tree | d05949b9549c6eb4d654dea8121b615767a218a5 /devel/fnorb/Makefile | |
parent | 59a5f42547b7bfd291dda7679ea1b30379daaef9 (diff) | |
download | ports-c8f0ea860e064d38620490dfc70b26071f9c654f.tar.gz ports-c8f0ea860e064d38620490dfc70b26071f9c654f.zip |
Notes
Diffstat (limited to 'devel/fnorb/Makefile')
-rw-r--r-- | devel/fnorb/Makefile | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/devel/fnorb/Makefile b/devel/fnorb/Makefile new file mode 100644 index 000000000000..3ec8ed7239a6 --- /dev/null +++ b/devel/fnorb/Makefile @@ -0,0 +1,47 @@ +# New ports collection makefile for: fnorb +# Date created: 12 Septermber 2000 +# Whom: Johann Visagie <johann@egenetics.com> +# +# $FreeBSD$ +# + +PORTNAME= fnorb +PORTVERSION= 1.1 +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 + +do-configure: + @ (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \ + Makefile.pre.in boot) + +FNORB_DIR= ${PYTHON_LIBDIR}/site-packages/Fnorb +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}) + @ ${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> |