mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
- 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:
parent
8a8ecb0b20
commit
4eea6f45bb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=340748
1 changed files with 6 additions and 9 deletions
|
@ -13,27 +13,24 @@ LICENSE= LGPL21
|
|||
|
||||
BUILD_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection \
|
||||
${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
|
||||
|
||||
USES= pkgconfig
|
||||
USES= pkgconfig gmake
|
||||
USE_XZ= yes
|
||||
USE_GMAKE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LDCONFIG= yes
|
||||
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
|
||||
|
||||
PORTEXAMPLES= *.c
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
OPTIONS_DEFINE= EXAMPLES
|
||||
|
||||
.if ${PORT_OPTIONS:MEXAMPLES}
|
||||
post-install:
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/examples/*.c ${EXAMPLESDIR}
|
||||
.endif
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/examples/*.c ${STAGEDIR}${EXAMPLESDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue