head	1.17;
access;
symbols
	RELEASE_8_3_0:1.15
	RELEASE_9_0_0:1.15
	RELEASE_7_4_0:1.14
	RELEASE_8_2_0:1.14
	RELEASE_6_EOL:1.14
	RELEASE_8_1_0:1.14
	RELEASE_7_3_0:1.14
	RELEASE_8_0_0:1.14
	RELEASE_7_2_0:1.14
	RELEASE_7_1_0:1.14
	RELEASE_6_4_0:1.14
	RELEASE_5_EOL:1.14
	RELEASE_7_0_0:1.12
	RELEASE_6_3_0:1.12
	PRE_XORG_7:1.11
	RELEASE_4_EOL:1.11
	RELEASE_6_2_0:1.11
	RELEASE_6_1_0:1.9
	RELEASE_5_5_0:1.9
	RELEASE_6_0_0:1.9
	RELEASE_5_4_0:1.7
	RELEASE_4_11_0:1.7
	RELEASE_5_3_0:1.7
	RELEASE_4_10_0:1.6
	RELEASE_5_2_1:1.2
	RELEASE_5_2_0:1.2
	RELEASE_4_9_0:1.2;
locks; strict;
comment	@# @;


1.17
date	2012.11.17.05.54.51;	author svnexp;	state Exp;
branches;
next	1.16;

1.16
date	2012.07.25.06.32.06;	author cs;	state Exp;
branches;
next	1.15;

1.15
date	2011.05.11.05.55.27;	author maho;	state Exp;
branches;
next	1.14;

1.14
date	2008.04.19.17.46.44;	author miwi;	state Exp;
branches;
next	1.13;

1.13
date	2008.03.24.13.03.48;	author miwi;	state Exp;
branches;
next	1.12;

1.12
date	2007.05.19.20.00.23;	author flz;	state Exp;
branches;
next	1.11;

1.11
date	2006.05.03.23.26.33;	author edwin;	state Exp;
branches;
next	1.10;

1.10
date	2006.03.15.08.10.48;	author maho;	state Exp;
branches;
next	1.9;

1.9
date	2005.04.12.03.24.56;	author obrien;	state Exp;
branches;
next	1.8;

1.8
date	2005.04.11.08.01.31;	author obrien;	state Exp;
branches;
next	1.7;

1.7
date	2004.05.06.19.49.36;	author maho;	state Exp;
branches;
next	1.6;

1.6
date	2004.03.18.04.57.07;	author maho;	state Exp;
branches;
next	1.5;

1.5
date	2004.02.22.00.42.32;	author kris;	state Exp;
branches;
next	1.4;

1.4
date	2004.02.04.05.18.49;	author marcus;	state Exp;
branches;
next	1.3;

1.3
date	2003.12.28.08.02.14;	author maho;	state Exp;
branches;
next	1.2;

1.2
date	2003.07.31.08.06.09;	author maho;	state Exp;
branches;
next	1.1;

1.1
date	2003.07.28.06.38.37;	author maho;	state Exp;
branches;
next	;


desc
@@


1.17
log
@Switch exporter over
@
text
@# New ports collection makefile for:    garlic
# Date created:         28 July 2003
# Whom:                 maho@@FreeBSD.org
#
# $FreeBSD: head/biology/garlic/Makefile 301510 2012-07-25 06:32:06Z cs $
#

PORTNAME=	garlic
PORTVERSION=	1.6
CATEGORIES=	biology
MASTER_SITES=	http://www.zucic.org/sources/garlic-${PORTVERSION}/
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}
.if !defined(NOPORTDOCS)
DISTFILES+=	${DISTNAME}-doc${EXTRACT_SUFX}
.endif
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}

MAINTAINER=	maho@@FreeBSD.org
COMMENT=	Molecular viewer, editor, and visualization program

USE_GMAKE=	yes
USE_XORG=	x11
ALL_TARGET=	# empty

.if defined(WITH_OPTIMIZED_FLAGS)
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
.if !defined(WITH_OPTIMIZED_FLAGS)
	@@${ECHO} "You can optimize by setting WITH_OPTIMIZED_FLAGS=yes."
.endif

do-install:
	${MKDIR} ${DATADIR}
	${INSTALL_PROGRAM} ${WRKSRC}/garlic       ${PREFIX}/bin
	${INSTALL_DATA}    ${WRKSRC}/.garlicrc    ${DATADIR}
	${INSTALL_DATA}    ${WRKSRC}/residues.pdb ${DATADIR}
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${EXAMPLESDIR}
	@@${INSTALL_DATA}    ${WRKSRC}/*.pdb        ${EXAMPLESDIR}
	@@${INSTALL_DATA}    ${WRKSRC}/*.script     ${EXAMPLESDIR}
	@@${MKDIR} ${DOCSDIR}
	@@${MKDIR} ${WRKDIR}/doc
	@@(cd ${WRKDIR}/doc ; ${TAR} xfz ${DISTDIR}/${DISTNAME}-doc${EXTRACT_SUFX} )
	@@${TAR} -C ${WRKDIR}/doc/${DISTNAME} -cf - .  | \
		${TAR} -C ${DOCSDIR} -xf -
	@@${FIND} ${DOCSDIR} | ${XARGS} ${CHOWN} ${SHAREOWN}:${SHAREGRP}
	@@${FIND} ${DOCSDIR} -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
.endif

.include <bsd.port.mk>
@


1.16
log
@SVN rev 301510 on 2012-07-25 06:32:06Z by cs

Fix typos in COMMENT
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.15
log
@Update to 1.6. Web site has been moved.
@
text
@d19 1
a19 1
COMMENT=	Molecular viewer, editor and visualization program
@


1.14
log
@- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
@
text
@d9 1
a9 2
PORTVERSION=	1.5
PORTREVISION=	2
d11 1
a11 1
MASTER_SITES=	http://garlic.mefos.hr/sources/garlic-${PORTVERSION}/
@


1.13
log
@- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Bump PORTREVISION

Approved by:	portmgr (xorg cleanup)
@
text
@d34 1
a34 2
	@@${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g ; \
	s|%%LOCALBASE%%|${LOCALBASE}|g ;\
@


1.12
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@d10 1
a10 1
PORTREVISION=	1
a21 1
USE_XLIB=	yes
d23 1
@


1.11
log
@Remove USE_REINPLACE from all categories starting with B
@
text
@d10 1
@


1.10
log
@Update to 1.5

Submitted by:	distfile survey by kris, fenner
@
text
@a21 1
USE_REINPLACE=	yes
@


1.9
log
@At Kris's request, back out the MACHINE_ARCH spelling correction until
after 5.4-RELEASE.
@
text
@d9 1
a9 2
PORTVERSION=	1.4
PORTREVISION=	2
d28 1
a28 1
.if (${MACHINE_ARCH} == "i386")
@


1.8
log
@Assist getting more ports working on AMD64 by obeying the
Ports Collection documentation and use 'ARCH' rather than 'MACHINE_ARCH'.
@
text
@d29 1
a29 1
.if (${ARCH} == "i386")
@


1.7
log
@Make portlint happy by replacing space to tab

PR:		65409
Submitted by:	trevor
@
text
@d29 1
a29 1
.if (${MACHINE_ARCH} == "i386")
@


1.6
log
@1) Silent version up without changing the version number
   very minor change in README
2) change WWW: section at pkg-descr
3) SIZEify

Submitted by:	kris via bento
@
text
@d22 2
a23 2
USE_XLIB=  yes
USE_REINPLACE=  yes
d25 1
a25 1
ALL_TARGET=     # empty
@


1.5
log
@BROKEN: Checksum mismatch
@
text
@a21 2
BROKEN=		"Checksum mismatch"

a32 1

@


1.4
log
@Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.

(Part 2)
@
text
@d22 2
@


1.3
log
@silent updates of archives:
a) program: Draw the hydrophobicity function F5
b) documentation: add very minor description not
   related FreeBSD.

1) bump portrevision
2) several clean ups for Makefile
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.2
log
@Add USE_XLIB=yes to compile

Submitted by:	kris via bento
@
text
@d10 1
d30 1
a30 1
CFLAGS+=	-mcpu=i686 -march=i686 -mfancy-math-387
d34 1
d55 1
a55 1
	@@cd ${WRKDIR}/doc ; ${TAR} xvfz ${DISTDIR}/${DISTNAME}-doc${EXTRACT_SUFX}
@


1.1
log
@A new port garlic, free molecular viewer and editor, free molecular
visualization program, protein structure, DNA structure, PDB,
molecular rendering, biological macromolecule.
@
text
@d21 1
@

