aboutsummaryrefslogtreecommitdiff
path: root/science/chemical-mime-data/Makefile
blob: 561d0e289837bbef40f18b5e2db0d40796a42f71 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# 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
INSTALLS_ICONS=	yes

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>