- Disable g-ir-scanner cache to not pollute /root/.cache on build

- Support staging
- Use new LIB_DEPENDS syntax
- Convert USE_GMAKE to USES

PR:		185924
Submitted by:	amdmi3
Approved by:	Christoph Moench-Tegeder <cmt@burggraben.net> (maintainer)
This commit is contained in:
Dmitry Marakasov 2014-01-22 23:32:26 +00:00
parent 8a8ecb0b20
commit 4eea6f45bb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=340748

View file

@ -13,27 +13,24 @@ LICENSE= LGPL21
BUILD_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection \ BUILD_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection \
${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
LIB_DEPENDS= soup-gnome-2.4:${PORTSDIR}/devel/libsoup-gnome LIB_DEPENDS= libsoup-gnome-2.4.so:${PORTSDIR}/devel/libsoup-gnome
RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
USES= pkgconfig USES= pkgconfig gmake
USE_XZ= yes USE_XZ= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
USE_LDCONFIG= yes USE_LDCONFIG= yes
USE_GNOME= gnomehack glib20 intlhack libxml2 USE_GNOME= gnomehack glib20 intlhack libxml2
MAKE_ENV= GI_SCANNER_DISABLE_CACHE=yes
CONFIGURE_ARGS= --with-ca-certificates=${LOCALBASE}/share/certs/ca-root-nss.crt CONFIGURE_ARGS= --with-ca-certificates=${LOCALBASE}/share/certs/ca-root-nss.crt
PORTEXAMPLES= *.c PORTEXAMPLES= *.c
NO_STAGE= yes OPTIONS_DEFINE= EXAMPLES
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MEXAMPLES}
post-install: post-install:
@${MKDIR} ${EXAMPLESDIR} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.c ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/*.c ${STAGEDIR}${EXAMPLESDIR}
.endif
.include <bsd.port.mk> .include <bsd.port.mk>