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