blob: 4cbee98e48c4566be926984d2dc273a0de4d6537 (
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
|
# Created by: NAKATA, Maho <maho@FreeBSD.org>
# $FreeBSD$
PORTNAME= chemtool
PORTVERSION= 1.7.20050716
PORTREVISION= 7
CATEGORIES= science
MASTER_SITES= http://ruby.chemie.uni-freiburg.de/~martin/chemtool/
DISTNAME= ct17a15
MAINTAINER= maho@FreeBSD.org
COMMENT= Drawing organic molecules easily and store them (developer version)
LIB_DEPENDS= libEMF.so:${PORTSDIR}/graphics/libemf
RUN_DEPENDS= transfig:${PORTSDIR}/print/transfig
WRKSRC= ${WRKDIR}/${PORTNAME}-1.7alpha15/
USE_GNOME= gtk20
USE_XORG= x11
GNU_CONFIGURE= yes
USES= gettext gmake pkgconfig tar:tgz
CONFIGURE_ARGS= --enable-emf=yes
PKGNAMESUFFIX= -devel
MAKE_ARGS+= MAKE=${MAKE_CMD}
MAKE_JOBS_UNSAFE= yes
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libEMF
LIBS+= -L${LOCALBASE}/lib
post-patch:
@${REINPLACE_CMD} 's/-lstdc++//' ${WRKSRC}/configure
@${REINPLACE_CMD} '/^SYS_LIBRARIES =/s/$$/ -lX11/' ${WRKSRC}/Makefile.in
post-install:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
|