head	1.17;
access;
symbols
	RELEASE_8_3_0:1.15
	RELEASE_9_0_0:1.15
	RELEASE_7_4_0:1.15
	RELEASE_8_2_0:1.15
	RELEASE_6_EOL:1.15
	RELEASE_8_1_0:1.15
	RELEASE_7_3_0:1.15
	RELEASE_8_0_0:1.15
	RELEASE_7_2_0:1.15
	RELEASE_7_1_0:1.15
	RELEASE_6_4_0:1.15
	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.11
	RELEASE_5_4_0:1.11
	RELEASE_4_11_0:1.11
	RELEASE_5_3_0:1.11
	RELEASE_4_10_0:1.11
	RELEASE_5_2_1:1.10
	RELEASE_5_2_0:1.10
	RELEASE_4_9_0:1.10
	RELEASE_5_1_0:1.10
	RELEASE_4_8_0:1.9
	RELEASE_5_0_0:1.8
	RELEASE_4_7_0:1.8
	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.6
	RELEASE_4_4_0:1.6
	RELEASE_4_3_0:1.6
	RELEASE_4_2_0:1.5
	RELEASE_4_1_1:1.4
	RELEASE_4_1_0:1.4
	RELEASE_3_5_0:1.3
	RELEASE_4_0_0:1.2
	RELEASE_3_4_0:1.2
	RELEASE_3_3_0:1.1.1.1
	v0_3:1.1.1.1
	MIYAMOTO:1.1.1;
locks; strict;
comment	@# @;


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

1.16
date	2012.11.17.05.54.53;	author svnexp;	state Exp;
branches;
next	1.15;

1.15
date	2008.06.06.13.08.29;	author edwin;	state Exp;
branches;
next	1.14;

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

1.13
date	2006.04.05.06.13.46;	author linimon;	state Exp;
branches;
next	1.12;

1.12
date	2006.03.07.08.25.58;	author ade;	state Exp;
branches;
next	1.11;

1.11
date	2004.02.04.05.18.51;	author marcus;	state Exp;
branches;
next	1.10;

1.10
date	2003.04.18.04.50.08;	author marcus;	state Exp;
branches;
next	1.9;

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

1.8
date	2002.08.30.12.59.40;	author lioux;	state Exp;
branches;
next	1.7;

1.7
date	2002.01.23.19.52.38;	author sf;	state Exp;
branches;
next	1.6;

1.6
date	2001.03.13.02.03.46;	author kuriyama;	state Exp;
branches;
next	1.5;

1.5
date	2000.10.05.06.36.01;	author reg;	state Exp;
branches;
next	1.4;

1.4
date	2000.07.07.19.59.23;	author steve;	state Exp;
branches;
next	1.3;

1.3
date	2000.04.08.22.04.57;	author mharo;	state Exp;
branches;
next	1.2;

1.2
date	99.10.09.18.42.12;	author vanilla;	state Exp;
branches;
next	1.1;

1.1
date	99.09.06.20.04.15;	author taoka;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	99.09.06.20.04.15;	author taoka;	state Exp;
branches;
next	;


desc
@@


1.17
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/308453
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r308453 | pawel | 2012-12-07 22:22:06 +0000 (Fri, 07 Dec 2012) | 8 lines
## SVN ##
## SVN ## - Support CC properly
## SVN ## - Switch to PLIST_FILES
## SVN ## - Add option for GTK2 support
## SVN ##
## SVN ## PR:		ports/174174
## SVN ## Submitted by:	KATO Tsuguru <tkato432@@yahoo.com>
## SVN ## Feature safe:	yes
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@# Created by: Ryo MIYAMOTO <rmiya@@cc.hirosaki-u.ac.jp>
# $FreeBSD: head/biology/xmolwt/Makefile 308453 2012-12-07 22:22:06Z pawel $

PORTNAME=	xmolwt
PORTVERSION=	0.7
PORTREVISION=	5
CATEGORIES=	biology
MASTER_SITES=	http://www.st.hirosaki-u.ac.jp/~rmiya/xmolwt/

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	Calculate atom weight and percent of each element for a given formula

OPTIONS_DEFINE=	GTK2

USE_GMAKE=	yes
MAKEFILE=	Makefile.gtk
ALL_TARGET=	gmolwt
MAKE_JOBS_SAFE=	yes

PORTDOCS=	*
PLIST_FILES=	bin/gmolwt bin/molwt

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MGTK2}
USE_GNOME=	gtk20
USE_PKGCONFIG=	build
MAKE_ENV+=	GTKCONFIG="pkg-config gtk+-2.0"
.else
USE_GNOME=	gtk12
MAKE_ENV+=	GTKCONFIG="${GTK_CONFIG}"
.endif

post-patch:
	@@${REINPLACE_CMD} -e \
		'/^CC/s| =| ?=| ; \
		/^CFLAGS/s| =| +=| ; \
		/^GTKCONFIG/s| =| ?=|' ${WRKSRC}/Makefile.gtk

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/gmolwt ${PREFIX}/bin
	${LN} -sf gmolwt ${PREFIX}/bin/molwt
.if !defined(NOPORTDOCS)
	${MKDIR} ${PREFIX}/share/doc/xmolwt
	${INSTALL_DATA} ${WRKSRC}/Howtouse.* ${PREFIX}/share/doc/xmolwt
	${INSTALL_DATA} ${WRKSRC}/Readme ${PREFIX}/share/doc/xmolwt
	${INSTALL_DATA} ${WRKSRC}/Xmolwt ${PREFIX}/share/doc/xmolwt
	${INSTALL_DATA} ${WRKSRC}/dot.gtkrc ${PREFIX}/share/doc/xmolwt
	${INSTALL_DATA} ${WRKSRC}/*.html ${PREFIX}/share/doc/xmolwt
	${INSTALL_DATA} ${WRKSRC}/*.gif ${PREFIX}/share/doc/xmolwt
.endif

.include <bsd.port.mk>
@


1.16
log
@Switch exporter over
@
text
@d1 2
a2 5
# New ports collection makefile for:	xmolwt/gmolwt
# Date created:		1999-08-30
# Whom:			Ryo MIYAMOTO <rmiya@@cc.hirosaki-u.ac.jp>
#
# $FreeBSD: head/biology/xmolwt/Makefile 300895 2012-07-14 12:56:14Z beat $
d6 1
a6 1
PORTREVISION=	4
d11 1
a11 1
COMMENT=	Calculate formula weight and percent of each element for a given formula
d13 3
a15 1
WRKSRC=		${WRKDIR}/${DISTNAME}
d17 7
d25 5
a29 1
USE_GMAKE=	yes
d31 8
@


1.15
log
@Bump portrevision due to upgrade of devel/gettext.

The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@@
Approved by:    portmgr (pav)
@
text
@d5 1
a5 1
# $FreeBSD$
@


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
@d9 1
a9 1
PORTREVISION=	3
@


1.13
log
@Reset rmiya@@cc.hirosaki-u.ac.jp who has not responded to email asking about
maintainer timeouts.

Hat:	portmgr
@
text
@d9 1
a9 1
PORTREVISION=	2
@


1.12
log
@Bump PORTREVISION on glib12/gtk12 consumer ports to ease the upgrade path.

Discussed with:	kris
Approved by:	portmgr (implicit)
@
text
@d13 1
a13 1
MAINTAINER=	rmiya@@cc.hirosaki-u.ac.jp
@


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

(Part 2)
@
text
@d9 1
a9 1
PORTREVISION=	1
@


1.10
log
@Remove USE_GNOMENG.
@
text
@d9 1
@


1.9
log
@De-pkg-comment.
@
text
@a18 1
USE_GNOMENG=	yes
@


1.8
log
@Deploy USE_GNOMENG infrastructure

PR:		42187
Submitted by:	Edwin Groothuis <edwin@@mavetju.org>
@
text
@d13 1
@


1.7
log
@o update to 0.7.

PR:		34197
Submitted by:	maintainer
@
text
@d18 2
a19 1
USE_GTK=	yes
@


1.6
log
@Upgrade to 0.4.

Submitted by:	Ryo MIYAMOTO <rmiya@@cc.hirosaki-u.ac.jp> (maintainer)
PR:		ports/25741
@
text
@d5 1
a5 1
# $FreeBSD: ports/biology/xmolwt/Makefile,v 1.5 2000/10/05 06:36:01 reg Exp $
d8 1
a8 1
PORTVERSION=	0.4
@


1.5
log
@Implement USE_GTK, part 1.
@
text
@d5 1
a5 1
# $FreeBSD: ports/biology/xmolwt/Makefile,v 1.4 2000/07/07 19:59:23 steve Exp $
d8 1
a8 1
PORTVERSION=	0.3
@


1.4
log
@- Use GTK_CONFIG/GLIB_CONFIG instead of hardcoded gtk12-config/glib12-config
- Support CC/CFLAGS/PREIFX/LOCALBASE/X11BASE/MAKE/etc. properly

PR:		19623
Submitted by:	KATO Tsuguru <tkato@@prontomail.ne.jp>
@
text
@d5 1
a5 1
# $FreeBSD: ports/biology/xmolwt/Makefile,v 1.3 2000/04/08 22:04:57 mharo Exp $
a13 4
LIB_DEPENDS=	gtk12.2:${PORTSDIR}/x11-toolkits/gtk12

GTK_CONFIG?=	${X11BASE}/bin/gtk12-config

d15 1
d18 1
a18 2
MAKEFILE=	Makefile.gtk
MAKE_ENV=	GTK_CONFIG="${GTK_CONFIG}"
@


1.3
log
@update with the new PORTNAME/PORTVERSION variables
@
text
@d1 3
a3 3
# New ports collection makefile for: xmolwt/gmolwt
# Date created: 1999-08-30
# Whom: Ryo MIYAMOTO <rmiya@@cc.hirosaki-u.ac.jp>
d5 1
a5 1
# $FreeBSD: ports/biology/xmolwt/Makefile,v 1.2 1999/10/09 18:42:12 vanilla Exp $
d16 2
a17 1
USE_GMAKE=	yes
d20 3
a22 7
post-configure:
	(cd ${WRKSRC}; ${CP} Makefile.gtk Makefile)

pre-install:
	(cd ${WRKSRC}; strip gmolwt)
	${RM} -rf ${PREFIX}/share/doc/xmolwt
	${MKDIR} ${PREFIX}/share/doc/xmolwt
d26 3
a28 1
	(cd ${PREFIX}/bin; ln -s gmolwt molwt)
d35 1
@


1.2
log
@Bump glib12 's share library version to 3,
and portlint.
@
text
@a1 1
# Version required: 0.3
d5 1
a5 1
# $FreeBSD: ports/biology/xmolwt/Makefile,v 1.1.1.1 1999/09/06 20:04:15 taoka Exp $
d7 2
a8 1
DISTNAME=	xmolwt-0.3
@


1.1
log
@Initial revision
@
text
@d6 1
a6 1
# $FreeBSD$
d14 1
a14 5
LIB_DEPENDS=	gdk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
		glib12.2:${PORTSDIR}/devel/glib12 \
		gmodule12.2:${PORTSDIR}/devel/glib12 \
		gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
		intl.1:${PORTSDIR}/devel/gettext
@


1.1.1.1
log
@This program calculate formula weight and percent of each elements.

PR:		ports/13467
Submitted by:	Ryo MIYAMOTO <rmiya@@cc.hirosaki-u.ac.jp>
@
text
@@
