freebsd-ports/biology/garlic/Makefile
Tobias C. Berner 37526bbd4e biology: remove 'Created by' lines
A big Thank You to the original contributors of these ports:

  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Akinori MUSHA aka knu <knu@idaemons.org>
  *  Andrey Zakhvatov
  *  Bob Zimmermann <rpz@cse.wustl.edu>
  *  Camson Huynh <chuynh@biolateral.com.au>
  *  Dan Siercks <dsiercks@uwm.edu>
  *  Fernan Aguero <fernan@iib.unsam.edu.ar>
  *  Hannes Hauswedell <h2+fbsdports@fsfe.org>
  *  J. Bacon <jwb@FreeBSD.org>
  *  Jason Bacon <jwb@FreeBSD.org>
  *  Jeremy <karlj000@unbc.ca>
  *  Johann Visagie <johann@egenetics.com>
  *  Johann Visagie <wjv@FreeBSD.org>
  *  Mauricio Herrera Cuadra <mauricio@arareko.net>
  *  Motomichi Matsuzaki <mzaki@biol.s.u-tokyo.ac.jp>
  *  Motomichi Matsuzaki <mzaki@e-mail.ne.jp>
  *  Motomichi Matsuzaki <mzaki@m.u-tokyo.ac.jp>
  *  Motomichi Matsuzaki <mzaki@niid.go.jp>
  *  Po-Chuan Hsieh <sunpoet@FreeBSD.org>
  *  Razi Khaja <razi@genet.sickkids.on.ca>
  *  Reed A. Cartwright <cartwright@asu.edu>
  *  Ryo MIYAMOTO
  *  Ryo MIYAMOTO <rmiya@cc.hirosaki-u.ac.jp>
  *  Sangwoo Shim <sangwoos@gmail.com>
  *  Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
  *  Tassilo Philipp <tphilipp@potion-studios.com>
  *  Tony Maher
  *  Tony Maher <tonym@biolateral.com.au>
  *  Wen Heping <wen@FreeBSD.org>
  *  Wen Heping <wenheping@gmail.com>
  *  Yonatan <onatan@gmail.com>
  *  Yuri Victorovich <yuri@rawbw.com>
  *  ballen
  *  barnhart@genetics.wustl.edu
  *  camson@bilateral.com.au
  *  chuynh@biolateral.com.au
  *  dbader@eece.unm.edu
  *  frankch@waru.life.nthu.edu.tw
  *  h2
  *  lentferj
  *  maho@FreeBSD.org
  *  mzaki@biol.s.u-tokyo.ac.jp
  *  tonym
  *  wen@FreeBSD.org

With hat:	portmgr
2022-07-20 16:20:57 +02:00

49 lines
1.5 KiB
Makefile

PORTNAME= garlic
PORTVERSION= 1.6
PORTREVISION= 1
CATEGORIES= biology
MASTER_SITES= http://www.zucic.org/sources/garlic-${PORTVERSION}/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Molecular viewer, editor, and visualization program
USES= gmake xorg
USE_XORG= x11
ALL_TARGET= # empty
OPTIONS_DEFINE= DOCS EXAMPLES OPTIMIZED_CFLAGS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
DISTFILES+= ${DISTNAME}-doc${EXTRACT_SUFX}
.endif
.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS}
CFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double
.if (${ARCH} == "i386")
CFLAGS+= -mfancy-math-387 -mpreferred-stack-boundary=3
.endif # i386
.endif
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g ;\
s|%%CC%%|${CC}|g ; \
s|%%CFLAGS%%|${CFLAGS}|g' ${WRKSRC}/Makefile
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${EXAMPLESDIR} \
${STAGEDIR}${DOCSDIR} ${WRKDIR}/doc
${INSTALL_PROGRAM} ${WRKSRC}/garlic ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/.garlicrc ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/residues.pdb ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.pdb ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/*.script ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKDIR}/doc ; \
${TAR} -xzf ${DISTDIR}/${DISTNAME}-doc${EXTRACT_SUFX} )
${TAR} -C ${WRKDIR}/doc/${DISTNAME} -cf - . | \
${TAR} -C ${STAGEDIR}${DOCSDIR} -xf -
.include <bsd.port.mk>