2011-09-16 08:29:12 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2011/09/16 12:29:16 espie Exp $
|
2007-12-19 11:09:34 -05:00
|
|
|
|
|
|
|
COMMENT= Openbox menu editor
|
|
|
|
|
|
|
|
DISTNAME= obmenu-1.0
|
2011-09-16 08:29:12 -04:00
|
|
|
REVISION= 6
|
2007-12-19 11:09:34 -05:00
|
|
|
CATEGORIES= x11
|
|
|
|
|
|
|
|
HOMEPAGE= http://obmenu.sourceforge.net/
|
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=obmenu/}
|
|
|
|
|
2008-02-08 16:35:27 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
PKG_ARCH= *
|
|
|
|
|
2007-12-19 11:09:34 -05:00
|
|
|
MODULES= lang/python
|
2010-11-22 03:36:47 -05:00
|
|
|
RUN_DEPENDS= x11/py-gtk2 \
|
|
|
|
x11/openbox
|
2007-12-19 11:09:34 -05:00
|
|
|
|
|
|
|
pre-configure:
|
2007-12-20 06:53:24 -05:00
|
|
|
@perl -pi -e 's,!!SYSCONFDIR!!,${SYSCONFDIR},g' \
|
|
|
|
${WRKSRC}/obmenu
|
|
|
|
.for i in pipes/obm-moz pipes/obm-nav pipes/obm-dir
|
|
|
|
@perl -pi -e 's,/usr/bin/env python,${MODPY_BIN},g' ${WRKSRC}/${i}
|
|
|
|
.endfor
|
|
|
|
.for i in pipes/obm-xdg obxml.py obmenu
|
|
|
|
@perl -pi -e 's,/usr/bin/python,${MODPY_BIN},g' ${WRKSRC}/${i}
|
|
|
|
.endfor
|
2007-12-19 11:09:34 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|