aboutsummaryrefslogtreecommitdiffstats
path: root/biology/xmolwt/Makefile
blob: 7f38941db9c8d94bf888ce22a8ced29f06611973 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# New ports collection makefile for:    xmolwt/gmolwt
# Date created:     1999-08-30
# Whom:         Ryo MIYAMOTO <rmiya@cc.hirosaki-u.ac.jp>
#
# $FreeBSD$

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

MAINTAINER= rmiya@cc.hirosaki-u.ac.jp
COMMENT=    Calculate formula weight and percent of each element for a given formula

WRKSRC=     ${WRKDIR}/${DISTNAME}
MAKEFILE=   Makefile.gtk

USE_GMAKE=  yes
USE_GNOME=  gtk12

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>