From owner-freebsd-ports Sun Nov 17 18:05:11 1996 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA00116 for ports-outgoing; Sun, 17 Nov 1996 18:05:11 -0800 (PST) Received: from alpha.xerox.com (alpha.Xerox.COM [13.1.64.93]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id SAA00101 for ; Sun, 17 Nov 1996 18:05:06 -0800 (PST) Received: from crevenia.parc.xerox.com ([13.2.116.11]) by alpha.xerox.com with SMTP id <17243(2)>; Sun, 17 Nov 1996 18:04:35 PST Received: by crevenia.parc.xerox.com id <177557>; Sun, 17 Nov 1996 18:04:28 -0800 From: Bill Fenner To: ports@freebsd.org Subject: Ideas on installing lots of data for a port? Message-Id: <96Nov17.180428pst.177557@crevenia.parc.xerox.com> Date: Sun, 17 Nov 1996 18:04:24 PST Sender: owner-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I'm trying to put the finishing touches on my Geomview port's install. Geomview assumes that you're going to untar the distribution in the install directory and build it in place, so there's a bunch of stuff from the distribution that it doesn't copy for you when you say "make install". Right now I'm doing the following; does anyone have any other suggestions? Thanks, Bill # Geomview presumes that you're installing in the source directory, # so massive parts of the source directory have to be copied to the # destination. INFO_FILES= geomview geomview-1 geomview-2 geomview-3 geomview-4 geomview-5 DOC_FILES= 4dview.tutorial OOGL.m.doc geomview.ps gvplot.doc \ newsletter_article.txt oogltour EXAMPLE_FILES= example1.c example2.c example3.c SHARE_DIRS= data PRIV_DIRS= include lib maple mathematica LIBEXEC_DIRS= modules post-install: ${MKDIR} -p ${PREFIX}/info .for i in ${INFO_FILES} ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${PREFIX}/info .endfor .if !defined(NOPORTDOCS) ${MKDIR} -p ${PREFIX}/share/doc/geomview .for i in ${DOC_FILES} ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${PREFIX}/share/doc/geomview .endfor ${MKDIR} -p ${PREFIX}/share/examples/geomview .for i in ${EXAMPLE_FILES} ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${PREFIX}/share/examples/geomview .endfor .endif .for i in ${SHARE_DIRS} ${RM} -rf ${PREFIX}/share/geomview/${i} ${MKDIR} -p ${PREFIX}/share/geomview/${i} ${CP} -r ${WRKSRC}/${i} ${PREFIX}/share/geomview chown -R ${SHAREOWN}.${SHAREGRP} ${PREFIX}/share/geomview/${i} .endfor .for i in ${PRIV_DIRS} ${RM} -rf ${PREFIX}/lib/geomview/${i} ${MKDIR} -p ${PREFIX}/lib/geomview/${i} ${CP} -r ${WRKSRC}/${i} ${PREFIX}/lib/geomview chown -R ${BINOWN}.${BINGRP} ${PREFIX}/lib/geomview/${i} .endfor .for i in ${LIBEXEC_DIRS} ${RM} -rf ${PREFIX}/libexec/geomview/${i} ${MKDIR} -p ${PREFIX}/libexec/geomview/${i} ${CP} -r ${WRKSRC}/${i} ${PREFIX}/libexec/geomview/${i} chown -R ${BINOWN}.${BINGRP} ${PREFIX}/libexec/geomview/${i} .endfor