freebsd-ports/science/chemical-mime-data/Makefile
Koop Mast 2c6932c853 Stagify, switch to USES=tar:bzip2 and gmake.
Convert BUILD_/RUN_DEPENDS on shared-mime-info into USES=shared-mime-info
2014-04-09 13:17:04 +00:00

27 lines
902 B
Makefile

# Created by: Pav Lucistnik <pav@FreeBSD.org>
# $FreeBSD$
PORTNAME= chemical-mime-data
PORTVERSION= 0.1.94
PORTREVISION= 6
CATEGORIES= science
MASTER_SITES= SF/chemical-mime/${PORTNAME}/${PORTVERSION}
MAINTAINER= kwm@FreeBSD.org
COMMENT= A collection of chemical MIME types for UNIX desktops
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/librsvg-2.0.pc:${PORTSDIR}/graphics/librsvg2
USES= gmake pkgconfig tar:bzip2 shared-mime-info
USE_GNOME= gnomemimedata intltool libxslt:build
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lintl
INSTALLS_ICONS= yes
post-patch:
@${REINPLACE_CMD} -e 's|*-*-solaris*|*| ; s|rsvg|rsvg-convert|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|(datadir)/pkgconfig|(prefix)/libdata/pkgconfig|' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|-f png $$< |-f png $$< > |' ${WRKSRC}/icons/hicolor/Makefile.in
.include <bsd.port.mk>