Index: Makefile =================================================================== RCS file: /usr/ncvs/ports/irc/kvirc-devel/Makefile,v retrieving revision 1.59 diff -u -u -p -r1.59 Makefile --- Makefile 14 Sep 2009 18:45:11 -0000 1.59 +++ Makefile 16 Sep 2009 22:00:46 -0000 @@ -22,9 +22,9 @@ USE_QT_VER= 4 QT_COMPONENTS= moc_build qmake_build rcc_build uic_build \ dbus webkit gui network sql xml USE_CMAKE= yes -CMAKE_ARGS= -DWITHOUT_ESD=yes -DWITHOUT_DOXYGEN=yes INSTALLS_ICONS= yes CONFLICTS= kvirc-3.4.* +SVN_REV= 3459 MAN1= kvirc.1 MANLANG= "" de.ISO8859-1 de.UTF-8 it.ISO8859-1 it.UTF-8 @@ -32,9 +32,16 @@ MANLANG= "" de.ISO8859-1 de.UTF-8 it.ISO OPTIONS= AUDIOFILE "Compile with libaudiofile dependency" on \ DEBUG "Compile with debug support" off \ GSM "Compile with gsm support" off \ - KDE4 "Compile with KDE4 support (broken)" off \ + KDE4 "Compile with KDE4 support" off \ PHONON "Compile with phonon support" on +.include + +.if defined(WITH_KDE4) +USE_KDE4+= kdelibs kdeprefix +CMAKE_ARGS+= -DWITH_KDE4=yes +.endif + .include .if defined(WITH_AUDIOFILE) @@ -66,8 +73,17 @@ CMAKE_ARGS+= -DKDE4_LIB_INSTALL_DIR=${KD CMAKE_ARGS+= -DWITHOUT_PHONON=yes .endif +CMAKE_ARGS= -DWITHOUT_ESD=yes -DWITHOUT_DOXYGEN=yes \ + -DMANUAL_REVISION=${SVN_REV} + post-configure: @${MV} ${WRKSRC}/data/protocols/irc.protocol ${WRKSRC}/data/protocols/kvirc.protocol @${MV} ${WRKSRC}/data/protocols/irc6.protocol ${WRKSRC}/data/protocols/kvirc6.protocol +# Todo +# Add NOPORTDOCS part (include support for doxygen) +# If user requires docs +# Add in special %%VER%% to pkg-plist +# Add in DATADIR instead of share/.. + .include