freebsd-ports/science/chemtool/Makefile
Niclas Zeising 428fac4e1c Add USES=xorg USES=gl, ports categories s
Add USES=xorg and USES=gl to ports in categories starting with 's'
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-07 17:17:53 +00:00

39 lines
943 B
Makefile

# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$
PORTNAME= chemtool
DISTVERSION= 1.6.14
PORTREVISION= 2
CATEGORIES= science
MASTER_SITES= http://ruby.chemie.uni-freiburg.de/~martin/chemtool/
MAINTAINER= yuri@FreeBSD.org
COMMENT= Draw organic molecules easily and store them
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libEMF.so:graphics/libemf \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
RUN_DEPENDS= transfig:print/transfig
USES= compiler:c++11-lang gmake gnome pkgconfig xorg
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-emf=yes --with-localedir=${PREFIX}
USE_GNOME= cairo gdkpixbuf2 gtk20
USE_XORG= x11
OPTIONS_DEFINE= NLS EXAMPLES
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
PORTEXAMPLES= *
do-install-EXAMPLES-on:
cd ${WRKSRC}/examples && ${FIND} . | \
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>