aboutsummaryrefslogtreecommitdiff
path: root/biology/xmolwt/Makefile
blob: 6383317f83942d592e80264bfc1ca066b7ac5951 (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
35
36
37
# New ports collection makefile for: xmolwt/gmolwt
# Version required: 0.3
# Date created: 1999-08-30
# Whom: Ryo MIYAMOTO <rmiya@cc.hirosaki-u.ac.jp>
#
# $FreeBSD$

DISTNAME=	xmolwt-0.3
CATEGORIES=	biology
MASTER_SITES=	http://www.st.hirosaki-u.ac.jp/~rmiya/xmolwt/

MAINTAINER=	rmiya@cc.hirosaki-u.ac.jp

LIB_DEPENDS=	gtk12.2:${PORTSDIR}/x11-toolkits/gtk12

USE_GMAKE=	yes
WRKSRC=		${WRKDIR}/${DISTNAME}

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

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/gmolwt ${PREFIX}/bin
	(cd ${PREFIX}/bin; ln -s gmolwt molwt)
	${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

.include <bsd.port.mk>