mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
a33191366c
Please note that lots of invocation of MAKE_CMD here are wrong as they do not properly respect MAKE_ENV and friends With hat: portmgr
44 lines
1.2 KiB
Makefile
44 lines
1.2 KiB
Makefile
# 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
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
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_AUTOTOOLS= autoconf213
|
|
GNU_CONFIGURE= yes
|
|
USES= gettext gmake pkgconfig
|
|
CONFIGURE_ARGS= --enable-emf=yes
|
|
PKGNAMESUFFIX= -devel
|
|
MAKE_ARGS+= MAKE=${MAKE_CMD}
|
|
MAKE_JOBS_UNSAFE= yes
|
|
#to include emf
|
|
CFLAGS+= -I${LOCALBASE}/include/libEMF
|
|
CXXFLAGS+= -I${LOCALBASE}/include/libEMF
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's+%%LOCALBASE%%+${LOCALBASE}+g;' ${WRKSRC}/configure.in
|
|
@${REINPLACE_CMD} -e 's+%%LOCALBASE%%+${LOCALBASE}+g;' ${WRKSRC}/configure
|
|
|
|
post-install:
|
|
@(cd ${WRKSRC}; \
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/share/examples/chemtool/; \
|
|
cd ${WRKSRC}/examples/; \
|
|
${INSTALL_DATA} * ${STAGEDIR}${PREFIX}/share/examples/chemtool; \
|
|
)
|
|
|
|
.include <bsd.port.mk>
|