blob: bde060294e746d3eaebc10e3b9d2628ae47cd6f4 (
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
38
39
40
41
|
# 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= 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
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>
|