diff options
Diffstat (limited to 'deskutils/superkaramba/Makefile')
-rw-r--r-- | deskutils/superkaramba/Makefile | 32 |
1 files changed, 14 insertions, 18 deletions
diff --git a/deskutils/superkaramba/Makefile b/deskutils/superkaramba/Makefile index a401b20f5d2..1d827445703 100644 --- a/deskutils/superkaramba/Makefile +++ b/deskutils/superkaramba/Makefile @@ -5,8 +5,7 @@ # $FreeBSD$ PORTNAME= superkaramba -PORTVERSION= 0.35 -PORTREVISION= 1 +PORTVERSION= 0.36 CATEGORIES= deskutils kde MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= netdragon @@ -14,35 +13,32 @@ MASTER_SITE_SUBDIR= netdragon MAINTAINER= markus@FreeBSD.org COMMENT= KDE tool that allows interactive eye-candy on the desktop -.if defined(WITH_XMMS) -LIB_DEPENDS= xmms.4:${PORTSDIR}/multimedia/xmms -.endif - -.if defined(WITH_XMBMON) -RUN_DEPENDS= mbmon:${PORTSDIR}/sysutils/xmbmon -.endif +EXTRA_PATCHES= ${.CURDIR}/../../x11/kde3/files/extrapatch-old_configure USE_KDEBASE_VER= 3 GNU_CONFIGURE= yes USE_GMAKE= yes USE_GNOME= glib12 gtk12 USE_PYTHON= yes -PYTHON_VERSION= python2.3 INSTALLS_SHLIB= yes USE_REINPLACE= yes CONFIGURE_ARGS+= --with-pythondir=${PYTHON_INCLUDEDIR} -pre-everything:: -.if !defined(WITH_XMMS) - @${ECHO_MSG} "You can enable XMMS support by defining WITH_XMMS." +OPTIONS= XMMS "XMMS support" off \ + XMBMON "Mainboard monitor support" on + +.include <bsd.port.pre.mk> + +.if defined(WITH_XMMS) +LIB_DEPENDS= xmms.4:${PORTSDIR}/multimedia/xmms .endif -.if !defined(WITH_XMBMON) - @${ECHO_MSG} "You can enable mainboard monitor support by defining WITH_XMBMON." + +.if defined(WITH_XMBMON) +RUN_DEPENDS= mbmon:${PORTSDIR}/sysutils/xmbmon .endif post-patch: - @${REINPLACE_CMD} -e 's|-O2 ||g; s|-lpthread|${PTHREAD_LIBS}|g' \ - ${WRKSRC}/${CONFIGURE_SCRIPT} + @${REINPLACE_CMD} -e 's|-O2 ||g;' ${WRKSRC}/${CONFIGURE_SCRIPT} -.include <bsd.port.mk> +.include <bsd.port.post.mk> |