1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/misc/kdeedu4/Makefile
2005-11-05 11:19:58 +00:00

51 lines
1.1 KiB
Makefile

# New ports collection makefile for: kdeedu3
# Date created: 2 November 2001
# Whom: will@cvs.kde.org
#
# $FreeBSD$
#
PORTNAME= kdeedu
PORTVERSION= ${KDE_VERSION}
CATEGORIES?= misc kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src
DIST_SUBDIR= KDE
MAINTAINER?= kde@FreeBSD.org
COMMENT= Collection of entertaining, educational programs for KDE
CONFLICTS= kwordquiz-[0-9]*
USE_KDELIBS_VER=3
PREFIX= ${KDE_PREFIX}
USE_BZIP2= yes
USE_XPM= yes
USE_GMAKE= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
LDCONFIG_DIRS+= %%PREFIX%%/lib %%PREFIX%%/lib/kde3
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
.include <bsd.port.pre.mk>
.if ${OSVERSION} > 500035
LIB_DEPENDS+= boost_python:${PORTSDIR}/devel/boost-python
PLIST_SUB+= BOOST_PYTHON=""
.else
CONFIGURE_ARGS+=--disable-kig-python-scripting
PLIST_SUB+= BOOST_PYTHON="@comment "
.endif
PYTHON_LIBDIR!= ${LOCALBASE}/bin/python -c 'import sys;print sys.prefix'
pre-configure:
${REINPLACE_CMD} \
-e 's|pylibdir in.*|pylibdir in "${PYTHON_LIBDIR}/lib" \\|g' \
${WRKSRC}/configure
.include <bsd.port.post.mk>