summaryrefslogtreecommitdiff
path: root/biology/chemtool/Makefile
blob: 8e5706684f3d699697aa7d4db6cb51188aaaec34 (plain)
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
# $NetBSD: Makefile,v 1.25 2005/05/22 20:07:40 jlam Exp $

DISTNAME=		chemtool-1.6
PKGREVISION=	1
CATEGORIES=		biology
MASTER_SITES=		http://ruby.chemie.uni-freiburg.de/~martin/chemtool/

MAINTAINER=		tech-pkg@NetBSD.org
HOMEPAGE=		http://ruby.chemie.uni-freiburg.de/~martin/chemtool/
COMMENT=		Program for drawing organic molecules

PKG_INSTALLATION_TYPES=	overwrite pkgviews

USE_PKGLOCALEDIR=	yes
USE_X11=		yes
GNU_CONFIGURE=		yes
USE_TOOLS+=		gmake

CONFIGURE_ARGS+=	--without-gnomedir

post-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/chemtool
	${INSTALL_DATA} ${WRKSRC}/examples/* ${PREFIX}/share/examples/chemtool
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/chemtool
	cd ${WRKSRC} && ${INSTALL_DATA} README TODO 			\
		${PREFIX}/share/doc/chemtool/

.include "../../x11/gtk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"