mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
science/chemical-mime-data: Fix build with 'poud bulk -t' and slightly modernize
@unexec is deprecated and actually not needed anymore, because the directory in question is handled by the shared-mime-info trigger.
This commit is contained in:
parent
84e07469e6
commit
51acd11ed5
2 changed files with 3 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
||||||
PORTNAME= chemical-mime-data
|
PORTNAME= chemical-mime-data
|
||||||
PORTVERSION= 0.1.94
|
PORTVERSION= 0.1.94
|
||||||
PORTREVISION= 10
|
PORTREVISION= 11
|
||||||
CATEGORIES= science
|
CATEGORIES= science
|
||||||
MASTER_SITES= SF/chemical-mime/${PORTNAME}/${PORTVERSION}
|
MASTER_SITES= SF/chemical-mime/${PORTNAME}/${PORTVERSION}
|
||||||
|
|
||||||
|
@ -8,13 +8,11 @@ MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= Collection of chemical MIME types for UNIX desktops
|
COMMENT= Collection of chemical MIME types for UNIX desktops
|
||||||
WWW= http://chemical-mime.sourceforge.net/
|
WWW= http://chemical-mime.sourceforge.net/
|
||||||
|
|
||||||
USES= gettext-tools gmake gnome pathfix pkgconfig shared-mime-info \
|
USES= gettext-tools gmake gnome localbase:ldflags pathfix pkgconfig \
|
||||||
tar:bzip2
|
shared-mime-info tar:bzip2
|
||||||
USE_GNOME= gnomemimedata intlhack librsvg2:build 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
|
|
||||||
LDFLAGS+= -L${LOCALBASE}/lib
|
|
||||||
|
|
||||||
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
|
||||||
|
|
|
@ -61,4 +61,3 @@ share/mimelnk/chemical/x-ncbi-asn1.desktop
|
||||||
share/mimelnk/chemical/x-shelx.desktop
|
share/mimelnk/chemical/x-shelx.desktop
|
||||||
share/mimelnk/chemical/x-vmd.desktop
|
share/mimelnk/chemical/x-vmd.desktop
|
||||||
share/mimelnk/chemical/x-xyz.desktop
|
share/mimelnk/chemical/x-xyz.desktop
|
||||||
@unexec rm -rf %D/share/mime/chemical
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue