Index: head/graphics/raster3d/Makefile =================================================================== --- head/graphics/raster3d/Makefile (revision 444168) +++ head/graphics/raster3d/Makefile (revision 444169) @@ -1,64 +1,62 @@ # Created by: Shaun Amott # $FreeBSD$ PORTNAME= raster3d PORTVERSION= 3.0.2 PORTREVISION= 9 CATEGORIES= graphics biology MASTER_SITES= http://skuld.bmsc.washington.edu/${PORTNAME}/ DISTNAME= Raster3D_${PORTVERSION:R}-${PORTVERSION:E} MAINTAINER= ports@FreeBSD.org COMMENT= Set of tools for generating raster images of proteins and molecules LICENSE= ART20 LIB_DEPENDS= libgd.so:graphics/gd \ libtiff.so:graphics/tiff -OPTIONS_DEFINE= IMAGEMAGICK DOCS EXAMPLES -OPTIONS_DEFAULT=IMAGEMAGICK - USES= fortran MAKE_ARGS= INCDIRS="-I${LOCALBASE}/include" LIBDIRS="-L${LOCALBASE}/lib" \ CC="${CC}" CFLAGS="${CFLAGS}" FC="${FC}" FFLAGS="${FFLAGS}" \ RM="${RM}" OS="${OPSYS}" ALL_TARGET= linux all MAKE_JOBS_UNSAFE= yes CFLAGS+= -DLINUX -DNETWORKBYTEORDER -Dgfortran FFLAGS+= -fno-range-check -ffixed-line-length-132 -IMAGEMAGICK_RUN_DEPENDS= convert:graphics/ImageMagick +PORTDOCS= * +PORTEXAMPLES= * + +OPTIONS_DEFINE= IMAGEMAGICK DOCS EXAMPLES +OPTIONS_DEFAULT=IMAGEMAGICK OPTIONS_SUB= yes -.include +IMAGEMAGICK_RUN_DEPENDS= convert:graphics/ImageMagick do-install: -.for install_file in avs2ps balls normal3d rastep render ribbon rings3d rods - cd ${WRKSRC} && ${INSTALL_PROGRAM} ${install_file} ${STAGEDIR}${PREFIX}/bin +.for f in avs2ps balls normal3d rastep render ribbon rings3d rods + ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin .endfor -.for install_file in worms - cd ${WRKSRC} && ${INSTALL_SCRIPT} ${install_file} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/worms ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/doc/*.l ${STAGEDIR}${MANLPREFIX}/man/manl + @${MKDIR} ${STAGEDIR}${DATADIR}/materials + ${INSTALL_DATA} ${WRKSRC}/materials/* ${STAGEDIR}${DATADIR}/materials + +do-install-IMAGEMAGICK-on: +.for f in label3d stereo3d + ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin .endfor -.if ${PORT_OPTIONS:MIMAGEMAGICK} -.for install_file in label3d stereo3d - cd ${WRKSRC} && ${INSTALL_SCRIPT} ${install_file} ${STAGEDIR}${PREFIX}/bin -.endfor -.endif - cd ${WRKSRC}/doc && ${INSTALL_MAN} *.l ${STAGEDIR}${MANLPREFIX}/man/manl - ${MKDIR} ${STAGEDIR}${DATADIR}/materials - cd ${WRKSRC}/materials && ${INSTALL_DATA} * ${STAGEDIR}${DATADIR}/materials -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${STAGEDIR}${DOCSDIR} - cd ${WRKSRC}/doc && ${INSTALL_DATA} R3D_manual.pdf ${STAGEDIR}${DOCSDIR} - ${MKDIR} ${STAGEDIR}${DOCSDIR}/html - cd ${WRKSRC}/html && ${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR}/html -.endif -.if ${PORT_OPTIONS:MEXAMPLES} - ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR}/html + ${INSTALL_DATA} ${WRKSRC}/doc/R3D_manual.pdf ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/html/* ${STAGEDIR}${DOCSDIR}/html + +do-install-EXAMPLES-on: + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) ${RM} -r ${STAGEDIR}${EXAMPLESDIR}/msms/CVS -.endif .include Index: head/graphics/raster3d/pkg-plist =================================================================== --- head/graphics/raster3d/pkg-plist (revision 444168) +++ head/graphics/raster3d/pkg-plist (revision 444169) @@ -1,165 +1,74 @@ bin/avs2ps bin/balls bin/rastep bin/render bin/ribbon bin/rings3d bin/rods bin/normal3d %%IMAGEMAGICK%%bin/label3d %%IMAGEMAGICK%%bin/stereo3d bin/worms man/manl/avs2ps.l.gz man/manl/balls.l.gz man/manl/label3d.l.gz man/manl/r3d_objects.l.gz man/manl/r3dtops.l.gz man/manl/rastep.l.gz man/manl/raster3d.l.gz man/manl/render.l.gz man/manl/ribbon.l.gz man/manl/rods.l.gz man/manl/normal3d.l.gz man/manl/stereo3d.l.gz -%%PORTDOCS%%%%DOCSDIR%%/R3D_manual.pdf -%%PORTDOCS%%%%DOCSDIR%%/html/README -%%PORTDOCS%%%%DOCSDIR%%/html/avs2ps.html -%%PORTDOCS%%%%DOCSDIR%%/html/balls.html -%%PORTDOCS%%%%DOCSDIR%%/html/index_button.gif -%%PORTDOCS%%%%DOCSDIR%%/html/label3d.html -%%PORTDOCS%%%%DOCSDIR%%/html/normal3d.html -%%PORTDOCS%%%%DOCSDIR%%/html/pdb_anisou.html -%%PORTDOCS%%%%DOCSDIR%%/html/r3d_animation.html -%%PORTDOCS%%%%DOCSDIR%%/html/r3d_colorpicker.gif -%%PORTDOCS%%%%DOCSDIR%%/html/r3d_colorpicker.html -%%PORTDOCS%%%%DOCSDIR%%/html/r3d_colors.html -%%PORTDOCS%%%%DOCSDIR%%/html/r3d_docbkg.jpg -%%PORTDOCS%%%%DOCSDIR%%/html/r3d_docstyle.css -%%PORTDOCS%%%%DOCSDIR%%/html/r3d_example1.jpeg -%%PORTDOCS%%%%DOCSDIR%%/html/r3d_example2.jpeg -%%PORTDOCS%%%%DOCSDIR%%/html/r3d_example5.jpeg -%%PORTDOCS%%%%DOCSDIR%%/html/r3d_example6.gif -%%PORTDOCS%%%%DOCSDIR%%/html/r3d_example6.jpeg -%%PORTDOCS%%%%DOCSDIR%%/html/r3d_example7.jpeg -%%PORTDOCS%%%%DOCSDIR%%/html/r3d_example8.jpeg -%%PORTDOCS%%%%DOCSDIR%%/html/r3d_example9.jpeg -%%PORTDOCS%%%%DOCSDIR%%/html/r3d_examples.html -%%PORTDOCS%%%%DOCSDIR%%/html/r3d_filters.html -%%PORTDOCS%%%%DOCSDIR%%/html/r3d_hints.html -%%PORTDOCS%%%%DOCSDIR%%/html/r3d_icon.gif -%%PORTDOCS%%%%DOCSDIR%%/html/r3d_labels.html -%%PORTDOCS%%%%DOCSDIR%%/html/r3d_msms.png -%%PORTDOCS%%%%DOCSDIR%%/html/r3d_obj15.gif -%%PORTDOCS%%%%DOCSDIR%%/html/r3d_obj19.gif -%%PORTDOCS%%%%DOCSDIR%%/html/r3d_stereo7.jpeg -%%PORTDOCS%%%%DOCSDIR%%/html/r3d_transparent.html -%%PORTDOCS%%%%DOCSDIR%%/html/r3dtops.html -%%PORTDOCS%%%%DOCSDIR%%/html/r3dtops_tex1.gif -%%PORTDOCS%%%%DOCSDIR%%/html/r3dtops_tex2.gif -%%PORTDOCS%%%%DOCSDIR%%/html/r3dtops_tex3.gif -%%PORTDOCS%%%%DOCSDIR%%/html/rastep.html -%%PORTDOCS%%%%DOCSDIR%%/html/rastep_options.gif -%%PORTDOCS%%%%DOCSDIR%%/html/raster3d.html -%%PORTDOCS%%%%DOCSDIR%%/html/render.html -%%PORTDOCS%%%%DOCSDIR%%/html/rgb_black.jpeg -%%PORTDOCS%%%%DOCSDIR%%/html/rgb_white.jpeg -%%PORTDOCS%%%%DOCSDIR%%/html/rgbmap_black.html -%%PORTDOCS%%%%DOCSDIR%%/html/rgbmap_white.html -%%PORTDOCS%%%%DOCSDIR%%/html/rgbtext.html -%%PORTDOCS%%%%DOCSDIR%%/html/ribbon.html -%%PORTDOCS%%%%DOCSDIR%%/html/rings3d.html -%%PORTDOCS%%%%DOCSDIR%%/html/rods.html -%%PORTDOCS%%%%DOCSDIR%%/html/stereo3d.html -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/LT.pdb -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README.examples -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/chaincolours.pdb -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clip.r3d -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ex5.jpeg -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ex5_matrix.r3d -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ex7_header.r3d -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ex7_helix.r3d -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ex7_labels.r3d -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ex7_tex.r3d -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ex7_titles.r3d -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example1.r3d -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example1.script -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example2.script -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example2.sgi -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example3.mol -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example3.r3d -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example3.script -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example4.script -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example5.r3d -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example5.script -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example6.r3d -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example6.script -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example7.jpeg -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example7.r3d -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example7.script -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example8.script -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example9.script -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gal_srf.r3d.gz -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/header1.r3d -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/header2.r3d -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/header4.r3d -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/header8.r3d -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/msms/README -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/msms/msms2r3d.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/msms/msms_example.script -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/plane.r3d -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sugarG.pdb -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sugarcolours.pdb -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sugars.pdb -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/transparent.r3d %%DATADIR%%/materials/2-sided.r3d %%DATADIR%%/materials/backdrop_1.r3d %%DATADIR%%/materials/backdrop_2.r3d %%DATADIR%%/materials/backdrop_3.r3d %%DATADIR%%/materials/backface.r3d %%DATADIR%%/materials/basement.r3d %%DATADIR%%/materials/black.r3d %%DATADIR%%/materials/blue.r3d %%DATADIR%%/materials/bronze.r3d %%DATADIR%%/materials/brown.r3d %%DATADIR%%/materials/cpk.colours %%DATADIR%%/materials/cyan.r3d %%DATADIR%%/materials/darkblue.r3d %%DATADIR%%/materials/darkgreen.r3d %%DATADIR%%/materials/darkgrey.r3d %%DATADIR%%/materials/darkred.r3d %%DATADIR%%/materials/dna.colours %%DATADIR%%/materials/end_material.r3d %%DATADIR%%/materials/floor.r3d %%DATADIR%%/materials/fog.r3d %%DATADIR%%/materials/forestgreen.r3d %%DATADIR%%/materials/gold.r3d %%DATADIR%%/materials/green.r3d %%DATADIR%%/materials/grey.r3d %%DATADIR%%/materials/lightblue.r3d %%DATADIR%%/materials/lightgreen.r3d %%DATADIR%%/materials/lightgrey.r3d %%DATADIR%%/materials/lightorange.r3d %%DATADIR%%/materials/lightyellow.r3d %%DATADIR%%/materials/lilac.r3d %%DATADIR%%/materials/matte.r3d %%DATADIR%%/materials/moccasin.r3d %%DATADIR%%/materials/mycolors.pdb %%DATADIR%%/materials/orange.r3d %%DATADIR%%/materials/orchid.r3d %%DATADIR%%/materials/pearl.r3d %%DATADIR%%/materials/pink.r3d %%DATADIR%%/materials/purple.r3d %%DATADIR%%/materials/red.r3d %%DATADIR%%/materials/residue.colours %%DATADIR%%/materials/shapely.colours %%DATADIR%%/materials/silver.r3d %%DATADIR%%/materials/translucent.r3d %%DATADIR%%/materials/translucent_30.r3d %%DATADIR%%/materials/translucent_60.r3d %%DATADIR%%/materials/translucent_90.r3d %%DATADIR%%/materials/transparent.r3d %%DATADIR%%/materials/transparent0.r3d %%DATADIR%%/materials/transparent1.r3d %%DATADIR%%/materials/white.r3d %%DATADIR%%/materials/yellow.r3d