mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Respect WITHOUT_PYTHON knob.
Noticed by: dougb
This commit is contained in:
parent
78e849d0cd
commit
499b2c98fe
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=124277
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= libglade2
|
||||
PORTVERSION= 2.4.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel gnome
|
||||
MASTER_SITES= ${MASTER_SITE_GNOME}
|
||||
MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.4
|
||||
@ -16,15 +17,11 @@ DIST_SUBDIR= gnome2
|
||||
MAINTAINER= gnome@FreeBSD.org
|
||||
COMMENT= GNOME glade library
|
||||
|
||||
BUILD_DEPENDS= ${PYEXPAT}
|
||||
RUN_DEPENDS= ${PYEXPAT} \
|
||||
xmlcatmgr:${PORTSDIR}/textproc/xmlcatmgr
|
||||
RUN_DEPENDS= xmlcatmgr:${PORTSDIR}/textproc/xmlcatmgr
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_X_PREFIX= yes
|
||||
USE_REINPLACE= yes
|
||||
USE_GMAKE= yes
|
||||
USE_PYTHON= yes
|
||||
USE_LIBTOOL_VER=15
|
||||
USE_GNOME= gnomehack libxml2 gtk20
|
||||
INSTALLS_SHLIB= yes
|
||||
@ -37,4 +34,19 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
PLIST_SUB= XMLCATALOG="${LOCALBASE}/bin/xmlcatalog" \
|
||||
CATALOG_PORTS_XML="${LOCALBASE}/share/xml/catalog.ports"
|
||||
|
||||
.if !defined(WITHOUT_PYTHON)
|
||||
BUILD_DEPENDS+= ${PYEXPAT}
|
||||
RUN_DEPENDS+= ${PYEXPAT}
|
||||
|
||||
USE_PYTHON= yes
|
||||
PLIST_SUB+= PYTHON=""
|
||||
.else
|
||||
USE_REINPLACE= yes
|
||||
PLIST_SUB+= PYTHON="@comment "
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -E 's/in (python.*)+ none/in none/' \
|
||||
${WRKSRC}/configure
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
bin/libglade-convert
|
||||
%%PYTHON%%bin/libglade-convert
|
||||
include/libglade-2.0/glade/glade-build.h
|
||||
include/libglade-2.0/glade/glade-init.h
|
||||
include/libglade-2.0/glade/glade-parser.h
|
||||
|
Loading…
Reference in New Issue
Block a user