Files
ports/science/chemtool/Makefile
T
Charlie Li e87d8134a3 gnome.mk: rename gdkpixbuf2 to gdkpixbuf to prepare for port move
The GTK 1-based gdk-pixbuf has not existed for some time.

No functional or package changes.
2025-03-17 00:02:08 -04:00

41 lines
1.0 KiB
Makefile

PORTNAME= chemtool
DISTVERSION= 1.6.14
PORTREVISION= 5
CATEGORIES= science
MASTER_SITES= http://ruby.chemie.uni-freiburg.de/~martin/chemtool/
MAINTAINER= yuri@FreeBSD.org
COMMENT= Draw organic molecules easily and store them
WWW= http://ruby.chemie.uni-freiburg.de/~martin/chemtool/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libEMF.so:graphics/libemf \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
RUN_DEPENDS= fig2dev:print/fig2dev
USES= compiler:c++11-lang gmake gnome pkgconfig xorg
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
CONFIGURE_ARGS= --enable-emf=yes --with-localedir=${PREFIX}
USE_GNOME= cairo gdkpixbuf gtk20
USE_XORG= x11
CFLAGS+= -fcommon # notified the author via e-mail on Sep 20, 2020
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>