38 lines
815 B
Makefile
38 lines
815 B
Makefile
# $OpenBSD: Makefile,v 1.12 2009/01/19 16:14:31 jasper Exp $
|
|
|
|
COMMENT= easy GNOME menu editing tool
|
|
|
|
GNOME_PROJECT= alacarte
|
|
GNOME_VERSION= 0.11.7
|
|
CATEGORIES= x11
|
|
|
|
# LGPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MODULES= lang/python \
|
|
x11/gnome
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
RUN_DEPENDS= ::devel/gettext \
|
|
:fam-*:sysutils/fam \
|
|
:py-gtk2->=2.8.6:x11/py-gtk2 \
|
|
:gnome-menus-*:x11/gnome/menus \
|
|
:py-gnome-*:x11/gnome/py-gnome \
|
|
::textproc/rarian
|
|
|
|
USE_X11= Yes
|
|
DESKTOP_FILES= Yes
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
PYTHON="${MODPY_BIN}"
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKSRC}/Alacarte/util.py
|
|
|
|
.include <bsd.port.mk>
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir="${SYSCONFDIR}/gnome"
|