freebsd-ports/science/chemical-mime-data/Makefile
Baptiste Daroussin 2c672a4de9 INSTALLS_ICONS: retire the macro and rework the related dependencies
While here, make sure gtk-update-icon-cache is only on run dependency
where added as a dependency
Enforce gtk3 to depend on gtk-update-icon-cache (previously it was
inheriting the dependency)
2021-10-10 21:44:42 +02:00

24 lines
764 B
Makefile

# Created by: Pav Lucistnik <pav@FreeBSD.org>
PORTNAME= chemical-mime-data
PORTVERSION= 0.1.94
PORTREVISION= 8
CATEGORIES= science
MASTER_SITES= SF/chemical-mime/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Collection of chemical MIME types for UNIX desktops
USES= gettext-tools gmake gnome pathfix pkgconfig shared-mime-info \
tar:bzip2
USE_GNOME= gnomemimedata intlhack librsvg2:build libxslt:build
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-update-database
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
post-patch:
@${REINPLACE_CMD} -e 's|*-*-solaris*|*| ; s|rsvg|rsvg-convert|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|-f png $$< |-f png $$< > |' ${WRKSRC}/icons/hicolor/Makefile.in
.include <bsd.port.mk>