Lines 1-23
Link Here
|
1 |
# New ports collection makefile for: xmolwt/gmolwt |
1 |
# Created by: Ryo MIYAMOTO <rmiya@cc.hirosaki-u.ac.jp> |
2 |
# Date created: 1999-08-30 |
|
|
3 |
# Whom: Ryo MIYAMOTO <rmiya@cc.hirosaki-u.ac.jp> |
4 |
# |
5 |
# $FreeBSD: head/biology/xmolwt/Makefile 300895 2012-07-14 12:56:14Z beat $ |
2 |
# $FreeBSD: head/biology/xmolwt/Makefile 300895 2012-07-14 12:56:14Z beat $ |
6 |
|
3 |
|
7 |
PORTNAME= xmolwt |
4 |
PORTNAME= xmolwt |
8 |
PORTVERSION= 0.7 |
5 |
PORTVERSION= 0.7 |
9 |
PORTREVISION= 4 |
6 |
PORTREVISION= 5 |
10 |
CATEGORIES= biology |
7 |
CATEGORIES= biology |
11 |
MASTER_SITES= http://www.st.hirosaki-u.ac.jp/~rmiya/xmolwt/ |
8 |
MASTER_SITES= http://www.st.hirosaki-u.ac.jp/~rmiya/xmolwt/ |
12 |
|
9 |
|
13 |
MAINTAINER= ports@FreeBSD.org |
10 |
MAINTAINER= ports@FreeBSD.org |
14 |
COMMENT= Calculate formula weight and percent of each element for a given formula |
11 |
COMMENT= Calculate formula weight and percent of each element for a given formula |
15 |
|
12 |
|
16 |
WRKSRC= ${WRKDIR}/${DISTNAME} |
13 |
OPTIONS_DEFINE= GTK2 |
17 |
MAKEFILE= Makefile.gtk |
|
|
18 |
|
14 |
|
19 |
USE_GMAKE= yes |
15 |
USE_GMAKE= yes |
|
|
16 |
MAKEFILE= Makefile.gtk |
17 |
ALL_TARGET= gmolwt |
18 |
MAKE_JOBS_SAFE= yes |
19 |
|
20 |
PORTDOCS= * |
21 |
PLIST_FILES= bin/gmolwt bin/molwt |
22 |
|
23 |
.include <bsd.port.options.mk> |
24 |
|
25 |
.if ${PORT_OPTIONS:MGTK2} |
26 |
USE_GNOME= gtk20 |
27 |
USE_PKGCONFIG= build |
28 |
MAKE_ENV+= GTKCONFIG="pkg-config gtk+-2.0" |
29 |
.else |
20 |
USE_GNOME= gtk12 |
30 |
USE_GNOME= gtk12 |
|
|
31 |
MAKE_ENV+= GTKCONFIG="${GTK_CONFIG}" |
32 |
.endif |
33 |
|
34 |
post-patch: |
35 |
@${REINPLACE_CMD} -e \ |
36 |
'/^CC/s| =| ?=| ; \ |
37 |
/^CFLAGS/s| =| +=| ; \ |
38 |
/^GTKCONFIG/s| =| ?=|' ${WRKSRC}/Makefile.gtk |
21 |
|
39 |
|
22 |
do-install: |
40 |
do-install: |
23 |
${INSTALL_PROGRAM} ${WRKSRC}/gmolwt ${PREFIX}/bin |
41 |
${INSTALL_PROGRAM} ${WRKSRC}/gmolwt ${PREFIX}/bin |