Changeset View
Changeset View
Standalone View
Standalone View
devel/libpeas/Makefile
Show All 30 Lines | |||||
INSTALLS_ICONS= yes | INSTALLS_ICONS= yes | ||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
CPPFLAGS+= -I${LOCALBASE}/include | CPPFLAGS+= -I${LOCALBASE}/include | ||||
LIBS+= -L${LOCALBASE}/lib | LIBS+= -L${LOCALBASE}/lib | ||||
INSTALL_TARGET= install-strip | INSTALL_TARGET= install-strip | ||||
CONFIGURE_ARGS+=--disable-glade-catalog | CONFIGURE_ARGS+=--disable-glade-catalog | ||||
PLIST= ${.CURDIR}/pkg-plist | PLIST= ${.CURDIR}/pkg-plist | ||||
.if ${LIBPEAS_SLAVE} == python2 | .if ${LIBPEAS_SLAVE} == python | ||||
USES+= python:-2.7 | USES+= python | ||||
USE_PYTHON= flavors | |||||
.if ${FLAVOR:Upython2} == python2 | |||||
USE_GNOME+= pygobject3 | USE_GNOME+= pygobject3 | ||||
CONFIGURE_ARGS+= --disable-python3 | |||||
BUILD_WRKSRC= ${WRKSRC}/loaders/python | |||||
INSTALL_WRKSRC= ${WRKSRC}/loaders/python | |||||
.else | .else | ||||
USE_GNOME+= py3gobject3 | |||||
CONFIGURE_ARGS+= --disable-python2 | CONFIGURE_ARGS+= --disable-python2 | ||||
BUILD_WRKSRC= ${WRKSRC}/loaders/python3 | |||||
INSTALL_WRKSRC= ${WRKSRC}/loaders/python3 | |||||
.endif | .endif | ||||
.if ${LIBPEAS_SLAVE} == python3 | |||||
USES+= python:3.3+ | |||||
USE_GNOME+= py3gobject3 | |||||
.else | .else | ||||
CONFIGURE_ARGS+= --disable-python3 | CONFIGURE_ARGS+= --disable-python2 --disable-python3 | ||||
.endif | .endif | ||||
# lua needs lua 5.1 and devel/lua-lgi. The latter is build for lua 5.2 however.. | # lua needs lua 5.1 and devel/lua-lgi. The latter is build for lua 5.2 however.. | ||||
CONFIGURE_ARGS+= --disable-lua5.1 --disable-luajit | CONFIGURE_ARGS+= --disable-lua5.1 --disable-luajit | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |