Changeset View
Changeset View
Standalone View
Standalone View
devel/libsoup/Makefile
| Show All 14 Lines | |||||
| RUN_DEPENDS= glib-networking>=2.29.18:net/glib-networking | RUN_DEPENDS= glib-networking>=2.29.18:net/glib-networking | ||||
| USES= tar:xz | USES= tar:xz | ||||
| PORTSCOUT= limitw:1,even | PORTSCOUT= limitw:1,even | ||||
| .if !defined(REFERENCE_PORT) | .if !defined(REFERENCE_PORT) | ||||
| USES+= gettext gmake gnome libtool pathfix pkgconfig \ | USES+= gettext gmake gnome libtool pathfix pkgconfig \ | ||||
| python:3:build sqlite:3 tar:xz | python:3:build shebangfix sqlite:3 tar:xz | ||||
| USE_GNOME= glib20 intlhack introspection:build \ | USE_GNOME= glib20 intlhack introspection:build \ | ||||
| libxml2 referencehack | libxml2 referencehack | ||||
| USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
| GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
| CONFIGURE_ARGS= --disable-more-warnings \ | CONFIGURE_ARGS= --disable-more-warnings \ | ||||
| --disable-vala | --disable-vala | ||||
| CPPFLAGS+= -I${LOCALBASE}/include | CPPFLAGS+= -I${LOCALBASE}/include | ||||
| LIBS+= -L${LOCALBASE}/lib | LIBS+= -L${LOCALBASE}/lib | ||||
| INSTALL_TARGET= install-strip | INSTALL_TARGET= install-strip | ||||
| SHEBANG_FILES= ${WRKSRC}/libsoup/tld-parser.py | |||||
| LIBVERSION= 1.7.0 | LIBVERSION= 1.7.0 | ||||
| PLIST_SUB= VERSION="2.4" LIBVERSION=${LIBVERSION} | PLIST_SUB= VERSION="2.4" LIBVERSION=${LIBVERSION} | ||||
| .if defined(SOUP_SLAVE) | .if defined(SOUP_SLAVE) | ||||
| USES+= sqlite | USES+= sqlite | ||||
| LIB_DEPENDS+= libsoup-2.4.so:devel/libsoup | LIB_DEPENDS+= libsoup-2.4.so:devel/libsoup | ||||
| CONFIGURE_ARGS+=--with-gnome | CONFIGURE_ARGS+=--with-gnome | ||||
| .else | .else | ||||
| CONFIGURE_ARGS+=--without-gnome | CONFIGURE_ARGS+=--without-gnome | ||||
| .endif | .endif | ||||
| post-patch: | post-patch: | ||||
| @${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \ | @${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \ | ||||
| ${WRKSRC}/configure | ${WRKSRC}/configure | ||||
| @${REINPLACE_CMD} -e 's|env python|env ${PYTHON_VERSION}|g' \ | |||||
| ${WRKSRC}/libsoup/tld-parser.py | |||||
| @${REINPLACE_CMD} -e 's|DATADIRNAME=lib|DATADIRNAME=share|g' \ | @${REINPLACE_CMD} -e 's|DATADIRNAME=lib|DATADIRNAME=share|g' \ | ||||
| ${WRKSRC}/configure | ${WRKSRC}/configure | ||||
| .if defined(SOUP_SLAVE) | .if defined(SOUP_SLAVE) | ||||
| do-install: | do-install: | ||||
| @${MKDIR} ${STAGEDIR}${PREFIX}/share/gir-1.0/ | @${MKDIR} ${STAGEDIR}${PREFIX}/share/gir-1.0/ | ||||
| ${INSTALL_DATA} ${WRKSRC}/libsoup/SoupGNOME-2.4.gir ${STAGEDIR}${PREFIX}/share/gir-1.0/ | ${INSTALL_DATA} ${WRKSRC}/libsoup/SoupGNOME-2.4.gir ${STAGEDIR}${PREFIX}/share/gir-1.0/ | ||||
| @${MKDIR} ${STAGEDIR}${PREFIX}/lib/girepository-1.0/ | @${MKDIR} ${STAGEDIR}${PREFIX}/lib/girepository-1.0/ | ||||
| Show All 20 Lines | |||||