1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Stagify, switch to USES=tar:bzip2 and gmake.

Convert BUILD_/RUN_DEPENDS on shared-mime-info into USES=shared-mime-info
This commit is contained in:
Koop Mast 2014-04-09 13:17:04 +00:00
parent 43de230d1f
commit 2c6932c853
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350697

View File

@ -3,27 +3,22 @@
PORTNAME= chemical-mime-data
PORTVERSION= 0.1.94
PORTREVISION= 5
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}/share/mime/magic:${PORTSDIR}/misc/shared-mime-info \
${LOCALBASE}/libdata/pkgconfig/librsvg-2.0.pc:${PORTSDIR}/graphics/librsvg2
RUN_DEPENDS= ${LOCALBASE}/share/mime/magic:${PORTSDIR}/misc/shared-mime-info
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/librsvg-2.0.pc:${PORTSDIR}/graphics/librsvg2
USE_BZIP2= yes
USES= pkgconfig
USE_GMAKE= yes
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
NO_STAGE= 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