run openbox-xdg-autostart through 2to3, allowing it to move the dep from
python 2 to python 3. prompted by J. Scott Heppler. ok benoit@
This commit is contained in:
parent
2dfd6f813f
commit
74e2a94168
@ -1,7 +1,7 @@
|
||||
COMMENT = small, fast & usable window manager
|
||||
|
||||
V = 3.6.1
|
||||
REVISION = 10
|
||||
REVISION = 11
|
||||
DISTNAME = openbox-${V}
|
||||
SHARED_LIBS += obrender 12.0 # 32.0
|
||||
SHARED_LIBS += obt 1.1 # 2.2
|
||||
@ -27,9 +27,8 @@ WANTLIB += ${COMPILER_LIBCXX} Xdmcp jpeg
|
||||
MASTER_SITES = ${HOMEPAGE}dist/openbox/
|
||||
|
||||
MODULES = lang/python
|
||||
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_2}
|
||||
|
||||
RUN_DEPENDS = devel/py-xdg \
|
||||
RUN_DEPENDS = devel/py-xdg${MODPY_FLAVOR} \
|
||||
devel/desktop-file-utils
|
||||
LIB_DEPENDS += devel/gettext,-runtime \
|
||||
devel/pango \
|
||||
@ -41,7 +40,7 @@ LIB_DEPENDS += devel/gettext,-runtime \
|
||||
FAKE_FLAGS = sysconfdir="${PREFIX}/share/examples/openbox" \
|
||||
rcdir="${PREFIX}/share/examples/openbox"
|
||||
|
||||
API_V = ${V:R}
|
||||
API_V = ${V:R}
|
||||
SUBST_VARS = API_V
|
||||
|
||||
USE_GMAKE = Yes
|
||||
@ -55,5 +54,7 @@ CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
|
||||
|
||||
pre-configure:
|
||||
${SUBST_CMD} ${WRKSRC}/data/autostart/autostart.in
|
||||
2to3 --fix=all --no-diffs --nobackups --verbose --write \
|
||||
${WRKSRC}/data/autostart/openbox-xdg-autostart
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -29,10 +29,10 @@ include/openbox/${API_V}/obt/util.h
|
||||
include/openbox/${API_V}/obt/version.h
|
||||
include/openbox/${API_V}/obt/xml.h
|
||||
include/openbox/${API_V}/obt/xqueue.h
|
||||
lib/libobrender.a
|
||||
@static-lib lib/libobrender.a
|
||||
lib/libobrender.la
|
||||
@lib lib/libobrender.so.${LIBobrender_VERSION}
|
||||
lib/libobt.a
|
||||
@static-lib lib/libobt.a
|
||||
lib/libobt.la
|
||||
@lib lib/libobt.so.${LIBobt_VERSION}
|
||||
lib/pkgconfig/obrender-3.5.pc
|
||||
|
Loading…
x
Reference in New Issue
Block a user