head	1.20;
access;
symbols
	RELEASE_8_3_0:1.17
	RELEASE_9_0_0:1.17
	RELEASE_7_4_0:1.16
	RELEASE_8_2_0:1.16
	RELEASE_6_EOL:1.16
	RELEASE_8_1_0:1.16
	RELEASE_7_3_0:1.15
	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.14
	RELEASE_6_3_0:1.14
	PRE_XORG_7:1.13
	RELEASE_4_EOL:1.13
	RELEASE_6_2_0:1.13
	RELEASE_6_1_0:1.12
	RELEASE_5_5_0:1.12
	RELEASE_6_0_0:1.12
	RELEASE_5_4_0:1.12
	RELEASE_4_11_0:1.12
	RELEASE_5_3_0:1.12
	RELEASE_4_10_0:1.12
	RELEASE_5_2_1:1.10
	RELEASE_5_2_0:1.10
	RELEASE_4_9_0:1.10
	RELEASE_5_1_0:1.9
	RELEASE_4_8_0:1.9
	RELEASE_5_0_0:1.8
	RELEASE_4_7_0:1.7
	RELEASE_4_6_2:1.7
	RELEASE_4_6_1:1.7
	RELEASE_4_6_0:1.7
	RELEASE_5_0_DP1:1.7
	RELEASE_4_5_0:1.7
	RELEASE_4_4_0:1.7
	RELEASE_4_3_0:1.7
	RELEASE_4_2_0:1.6
	RELEASE_4_1_1:1.4
	RELEASE_4_1_0:1.4
	RELEASE_3_5_0:1.4
	RELEASE_4_0_0:1.3
	RELEASE_3_4_0:1.3
	RELEASE_3_3_0:1.3
	RELEASE_3_2_0:1.2
	RELEASE_3_1_0:1.2
	RELEASE_2_2_8:1.2
	RELEASE_3_0_0:1.2
	RELEASE_2_2_7:1.2
	RELEASE_2_2_6:1.2
	povchem_1_0:1.1.1.1
	FRANKCH:1.1.1;
locks; strict;
comment	@# @;


1.20
date	2013.02.10.11.05.56;	author svnexp;	state Exp;
branches;
next	1.19;

1.19
date	2012.11.17.05.54.52;	author svnexp;	state Exp;
branches;
next	1.18;

1.18
date	2012.06.01.05.16.29;	author dinoex;	state Exp;
branches;
next	1.17;

1.17
date	2011.06.20.22.32.03;	author makc;	state Exp;
branches;
next	1.16;

1.16
date	2010.03.28.06.31.38;	author dinoex;	state Exp;
branches;
next	1.15;

1.15
date	2010.02.05.11.34.38;	author dinoex;	state Exp;
branches;
next	1.14;

1.14
date	2007.05.19.20.00.26;	author flz;	state Exp;
branches;
next	1.13;

1.13
date	2006.05.03.23.26.34;	author edwin;	state Exp;
branches;
next	1.12;

1.12
date	2004.04.07.15.39.34;	author trevor;	state Exp;
branches;
next	1.11;

1.11
date	2004.03.09.00.17.05;	author trevor;	state Exp;
branches;
next	1.10;

1.10
date	2003.07.14.06.50.15;	author leeym;	state Exp;
branches;
next	1.9;

1.9
date	2003.02.21.11.01.36;	author knu;	state Exp;
branches;
next	1.8;

1.8
date	2002.11.04.02.31.19;	author edwin;	state Exp;
branches;
next	1.7;

1.7
date	2001.01.07.17.49.44;	author will;	state Exp;
branches;
next	1.6;

1.6
date	2000.10.10.00.48.14;	author jeh;	state Exp;
branches;
next	1.5;

1.5
date	2000.10.10.00.36.59;	author jeh;	state Exp;
branches;
next	1.4;

1.4
date	2000.04.08.22.04.49;	author mharo;	state Exp;
branches;
next	1.3;

1.3
date	99.08.25.04.48.04;	author obrien;	state Exp;
branches;
next	1.2;

1.2
date	98.03.17.05.23.58;	author asami;	state Exp;
branches;
next	1.1;

1.1
date	98.03.16.06.57.10;	author vanilla;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	98.03.16.06.57.10;	author vanilla;	state Exp;
branches;
next	;


desc
@@


1.20
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/312001
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: frankch@@waru.life.nthu.edu.tw
# $FreeBSD: head/biology/povchem/Makefile 312001 2013-02-10 07:55:45Z miwi $

PORTNAME=	povchem
PORTVERSION=	1.0
PORTREVISION=	7
CATEGORIES=	biology graphics
MASTER_SITES=	http://www.chemicalgraphics.com/paul/PC_Dist/v1.00/
DISTFILES=	povchem.c \
		povchem.cfg \
		periodic.tab
DIST_SUBDIR=	povchem
EXTRACT_ONLY=	#

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	Simple yet powerful tool to generate POV from a PDB file

RUN_DEPENDS=	povray:${PORTSDIR}/graphics/povray-meta

NO_WRKSUBDIR=	yes

USE_DOS2UNIX=	povchem.c

CPPFLAGS+=	-DDATADIR=\"${DATADIR}\" \
		-DSYSCONFDIR=\"${PREFIX}/etc\"

PLIST_FILES=	bin/povchem etc/povchem.cfg %%DATADIR%%/periodic.tab
PLIST_DIRS=	%%DATADIR%%

post-extract:
	@@(cd ${DISTDIR}/${DIST_SUBDIR} && ${TAR} -cf - ${DISTFILES}) | \
		(cd ${WRKSRC} && ${TAR} -xf -)

post-patch:
	@@${REINPLACE_CMD} -e \
		's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/povchem.cfg

do-build:
	cd ${WRKSRC} && ${CC} ${CFLAGS} ${CPPFLAGS} -o povchem povchem.c -lm

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/povchem ${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/povchem.cfg ${PREFIX}/etc
	@@${MKDIR} ${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/periodic.tab ${DATADIR}

.include <bsd.port.mk>
@


1.19
log
@Switch exporter over
@
text
@d1 2
a2 6
# New ports collection Makefile for: povchem
# Date created:         Mar 14 1998
# Whom:                 frankch@@waru.life.nthu.edu.tw
#
# $FreeBSD: head/biology/povchem/Makefile 300895 2012-07-14 12:56:14Z beat $
#
d12 2
a20 1
DIST_SUBDIR=	povchem
d22 3
a24 1
DEFS=		-DDATADIR=\"${PREFIX}/share/povchem\" \
a25 1
PATCH_ARGS=	-l -d ${PATCH_WRKSRC} --forward --quiet -E ${PATCH_STRIP}
d27 6
a32 5
do-extract:
	@@${MKDIR} ${WRKSRC}
.for file in ${DISTFILES}
	@@${CP} ${_DISTDIR}/${file} ${WRKSRC}
.endfor
d35 2
a36 4
	@@${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \
	${WRKSRC}/povchem.cfg
	${MV} ${WRKSRC}/povchem.c ${WRKSRC}/povchem.c.patched
	strings -1 ${WRKSRC}/povchem.c.patched > ${WRKSRC}/povchem.c
d39 1
a39 1
	cd ${WRKSRC} && ${CC} ${CFLAGS} ${DEFS} -o povchem povchem.c -lm
d44 2
a45 2
	@@${MKDIR} ${PREFIX}/share/povchem
	${INSTALL_DATA} ${WRKSRC}/periodic.tab ${PREFIX}/share/povchem
@


1.18
log
@- update png to 1.5.10
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.17
log
@Switch dependency on povray to povray-meta port.
Remove MD5 sum while I'm here.
@
text
@d10 1
a10 1
PORTREVISION=	6
@


1.16
log
@- update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
@
text
@d10 1
a10 1
PORTREVISION=	5
d20 1
a20 1
RUN_DEPENDS=	povray:${PORTSDIR}/graphics/povray
@


1.15
log
@- update to jpeg-8
@
text
@d10 1
a10 1
PORTREVISION=	4
@


1.14
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=	3
@


1.13
log
@Remove USE_REINPLACE from all categories starting with B
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.12
log
@After patching, remove the carriage-return characters from povchem.c
because they because they choke GCC 2.95.4.

noticed by:	kris
@
text
@a22 1
USE_REINPLACE=	yes
@


1.11
log
@Insert "-l" into PATCH_ARGS, to cause the "patch" command to ignore
carriage-return characters in povchem.c which otherwise cause
patch-ab to fail to apply.
@
text
@d39 2
@


1.10
log
@Add semi-colons(;) after declare statements that go in the povray scene file
so that povchem works with povray-3.5.

Maintainer prefer not to depend on ImageMagick since users can use their
favorite picture viewer. display isn't the only one choice.

Drop maintainership.

PR:		54397
Submitted by:	Glenn Johnson <gjohnson@@srrc.ars.usda.gov>
Reviewed by:	Chen-hsiung Chan <frankch@@waru.life.nthu.edu.tw>
@
text
@d28 1
@


1.9
log
@De-pkg-comment.
@
text
@d10 1
a10 1
PORTREVISION=	1
d17 1
a17 1
MAINTAINER=	frankch@@waru.life.nthu.edu.tw
d20 2
d36 2
a37 2
	@@${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g ; \
		s|%%X11BASE%%|${X11BASE}|g" ${WRKSRC}/povchem.cfg
@


1.8
log
@PERL -> REINPLACE
Noticed on: bento
@
text
@d18 1
@


1.7
log
@Clean up inefficient perl invocations; use multiple REs in the same call.
@
text
@d5 1
a5 1
# $FreeBSD: ports/biology/povchem/Makefile,v 1.6 2000/10/10 00:48:14 jeh Exp $
d20 1
d33 1
a33 1
	@@${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g ; \
@


1.6
log
@The last commit changes the ports and therefore need a PORTREVISION bump
@
text
@d5 1
a5 1
# $FreeBSD: ports/biology/povchem/Makefile,v 1.5 2000/10/10 00:36:59 jeh Exp $
d32 2
a33 2
	@@${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/povchem.cfg
	@@${PERL} -pi -e "s|%%X11BASE%%|${X11BASE}|g" ${WRKSRC}/povchem.cfg
@


1.5
log
@- Fix MASTER_SITES
- Support CC/LOCALBASE/X11BASE/PREFIX properly

Remove file:
 patches/patch-aa

Approval from MAINTAINER after sending EMail

PR:		21609
Submitted by:	KATO Tsuguru <tkato@@prontomail.ne.jp>
Approved by:	Chen Hsiung Chan <frankch@@waru.life.nthu.edu.tw> MAINTAINER
@
text
@d5 1
a5 1
# $FreeBSD: ports/biology/povchem/Makefile,v 1.4 2000/04/08 22:04:49 mharo Exp $
d10 1
@


1.4
log
@update with the new PORTNAME/PORTVERSION variables
@
text
@d5 1
a5 1
# $FreeBSD: ports/biology/povchem/Makefile,v 1.3 1999/08/25 04:48:04 obrien Exp $
d10 2
a11 2
CATEGORIES=     biology graphics
MASTER_SITES=   http://cherubino.med.jhmi.edu/~paul/PC_Dist/v1.00/
d16 1
a16 1
MAINTAINER=     frankch@@waru.life.nthu.edu.tw
d21 4
a24 1
pre-extract:
d26 7
a32 3
	@@${CP} ${DISTDIR}/${DIST_SUBDIR}/povchem.c ${WRKSRC}
	@@${CP} ${DISTDIR}/${DIST_SUBDIR}/povchem.cfg ${WRKSRC}
	@@${CP} ${DISTDIR}/${DIST_SUBDIR}/periodic.tab ${WRKSRC}
d34 2
a35 2
do-extract:
	@@${TOUCH} ${TOUCH_FLAGS} ${EXTRACT_COOKIE}
d38 4
a41 3
	@@${INSTALL_PROGRAM} ${WRKSRC}/povchem ${PREFIX}/bin
	@@${INSTALL_DATA} ${WRKSRC}/povchem.cfg ${PREFIX}/etc
	@@${INSTALL_DATA} ${WRKSRC}/periodic.tab ${PREFIX}/share
@


1.3
log
@Change Id->FreeBSD.
@
text
@a1 1
# Version required:     1.0
d5 1
a5 1
# $FreeBSD$
d8 2
a9 1
DISTNAME=	povchem-1.0
@


1.2
log
@Add DIST_SUBDIR, the name "periodic.tab" is kinda generic.  Speaking of which,
its checksum was different so fix it too.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.1.1.1 1998/03/16 06:57:10 vanilla Exp $
@


1.1
log
@Initial revision
@
text
@d6 1
a6 1
# $Id$
d19 1
d23 3
a25 3
	@@${CP} ${DISTDIR}/povchem.c ${WRKSRC}
	@@${CP} ${DISTDIR}/povchem.cfg ${WRKSRC}
	@@${CP} ${DISTDIR}/periodic.tab ${WRKSRC}
@


1.1.1.1
log
@Povchem is a tool to generate POV file from a PDB(Protein
DataBank) entry. One can adjust many parameters for a high
quality molecular graphic.
PR:		 ports/6008
Submitted by:	Frank Chen Hsiung Chan <frankch@@waru.life.nthu.edu.tw>
@
text
@@
