diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2005-01-31 22:55:20 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2005-01-31 22:55:20 +0000 |
commit | 3261ac7517c620fb93185d1b1bb8fddd05d3a8b6 (patch) | |
tree | f91ce56477c8e8bc45275c4a2ff437895d03bcb2 /deskutils/semantik | |
parent | 2af867b65810d79b4337e608906fbc1a59be673e (diff) | |
download | ports-3261ac7517c620fb93185d1b1bb8fddd05d3a8b6.tar.gz ports-3261ac7517c620fb93185d1b1bb8fddd05d3a8b6.zip |
Notes
Diffstat (limited to 'deskutils/semantik')
-rw-r--r-- | deskutils/semantik/Makefile | 93 | ||||
-rw-r--r-- | deskutils/semantik/distinfo | 4 | ||||
-rw-r--r-- | deskutils/semantik/files/patch-SConstruct | 13 | ||||
-rw-r--r-- | deskutils/semantik/pkg-plist | 41 |
4 files changed, 101 insertions, 50 deletions
diff --git a/deskutils/semantik/Makefile b/deskutils/semantik/Makefile index 7940065d4841..b5d36bee4abe 100644 --- a/deskutils/semantik/Makefile +++ b/deskutils/semantik/Makefile @@ -6,34 +6,99 @@ # PORTNAME= kdissert -PORTVERSION= 0.3.1 +PORTVERSION= 0.3.4.1 CATEGORIES= deskutils kde -MASTER_SITES= http://freehackers.org/~tnagy/kdissert/ \ +MASTER_SITES= http://www.freehackers.org/~tnagy/kdissert/ \ ftp://ftp.fasta.fh-dortmund.de/mirror/gentoo/distfiles/ MAINTAINER= ports@FreeBSD.org COMMENT= KDE mindmapping tool -BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash +BUILD_DEPENDS= scons:${PORTSDIR}/devel/scons \ + gsed:${PORTSDIR}/textproc/gsed USE_BZIP2= yes USE_KDELIBS_VER= 3 USE_REINPLACE= yes USE_GMAKE= yes -WANT_LIBTOOL_VER= 15 -MAKE_ARGS= CXX="${CXX}" \ - COMMONCXXFLAGS="${CXXFLAGS} ${PTHREAD_CFLAGS}" \ - LIBTOOL="${LIBTOOL} --silent --tag=CXX" \ - SUBLIBS="${PTHREAD_LIBS}" \ - SHELL="${LOCALBASE}/bin/bash" -INSTALLS_SHLIB= yes post-patch: - @${REINPLACE_CMD} -e 's|#!/bin/bash|!#!${LOCALBASE}/bin/bash|g ; \ - s|-en|-n|g' ${WRKSRC}/configure + @${REINPLACE_CMD} -e \ + 's:%%CXX%%:${CXX}:g ; \ + s:%%CXXFLAGS%%:${CXXFLAGS} ${PTHREAD_CFLAGS}:g ; \ + s:%%LINKFLAGS%%:${PTHREAD_LIBS}:g' ${WRKSRC}/SConstruct + @${REINPLACE_CMD} -e \ + 's:-en:-n:g' ${WRKSRC}/configure + @${REINPLACE_CMD} -e \ + 's:|sed:|gsed:g' ${WRKSRC}/kde.py do-configure: - @cd ${WRKSRC} \ - && QTDIR="${QT_PREFIX}" ./configure --prefix="${PREFIX}" + @cd ${CONFIGURE_WRKSRC} && ./configure --prefix="${PREFIX}" + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/kdissert/kdissert ${PREFIX}/bin + @${MKDIR} ${PREFIX}/lib/kde3 + ${INSTALL_DATA} ${WRKSRC}/src/templates/*.la ${PREFIX}/lib/kde3 + ${INSTALL_DATA} ${WRKSRC}/src/templates/*.so ${PREFIX}/lib/kde3 + @${MKDIR} ${PREFIX}/share/applications/kde + ${INSTALL_DATA} ${WRKSRC}/src/appdata/kdissert.desktop \ + ${PREFIX}/share/applications/kde + @${MKDIR} ${PREFIX}/share/applnk/Utilities + ${INSTALL_DATA} ${WRKSRC}/src/appdata/kdissert.desktop \ + ${PREFIX}/share/applnk/Utilities + @${MKDIR} ${PREFIX}/share/apps/kdissert + ${INSTALL_DATA} ${WRKSRC}/src/appdata/kdissertui.rc \ + ${PREFIX}/share/apps/kdissert + ${INSTALL_DATA} ${WRKSRC}/src/appdata/tips \ + ${PREFIX}/share/apps/kdissert + @${MKDIR} ${PREFIX}/share/apps/kdissert/pics + ${INSTALL_DATA} ${WRKSRC}/src/pics/nopix.png \ + ${PREFIX}/share/apps/kdissert/pics + @${MKDIR} ${PREFIX}/share/apps/kdissert/templatedata + ${INSTALL_DATA} ${WRKSRC}/src/templates/*.tar.gz \ + ${PREFIX}/share/apps/kdissert/templatedata + @${MKDIR} ${PREFIX}/share/apps/kdissertpart + ${INSTALL_DATA} ${WRKSRC}/src/appdata/kdissertpart.rc \ + ${PREFIX}/share/apps/kdissertpart + @${MKDIR} ${PREFIX}/share/config.kcfg + ${INSTALL_DATA} ${WRKSRC}/src/kdissert/kdissert.kcfg \ + ${PREFIX}/share/config.kcfg +.for lang in en fr + @${MKDIR} ${PREFIX}/share/doc/HTML/${lang}/kdissert + ${INSTALL_DATA} ${WRKSRC}/doc/${lang}/index.cache.bz2 \ + ${PREFIX}/share/doc/HTML/${lang}/kdissert + ${INSTALL_DATA} ${WRKSRC}/doc/${lang}/index.docbook \ + ${PREFIX}/share/doc/HTML/${lang}/kdissert + ${INSTALL_DATA} ${WRKSRC}/doc/${lang}/screenshot.png \ + ${PREFIX}/share/doc/HTML/${lang}/kdissert +.endfor +.for size in 16 22 32 64 128 + @${MKDIR} ${PREFIX}/share/icons/crystalsvg/${size}x${size}/actions + ${INSTALL_DATA} ${WRKSRC}/src/pics/toolbar/cr${size}-action-kdissert_sort.png \ + ${PREFIX}/share/icons/crystalsvg/${size}x${size}/actions/kdissert_sort.png +.endfor +.for size in 16 22 32 + @${MKDIR} ${PREFIX}/share/icons/crystalsvg/${size}x${size}/actions + ${INSTALL_DATA} ${WRKSRC}/src/pics/toolbar/cr${size}-action-kdissert_link.png \ + ${PREFIX}/share/icons/crystalsvg/${size}x${size}/actions/kdissert_link.png + ${INSTALL_DATA} ${WRKSRC}/src/pics/toolbar/cr${size}-action-kdissert_point.png \ + ${PREFIX}/share/icons/crystalsvg/${size}x${size}/actions/kdissert_point.png +.endfor +.for size in 16 32 64 128 + @${MKDIR} ${PREFIX}/share/icons/hicolor/${size}x${size}/apps + ${INSTALL_DATA} ${WRKSRC}/src/appdata/hi${size}-app-kdissert.png \ + ${PREFIX}/share/icons/hicolor/${size}x${size}/apps/kdissert.png +.endfor +.for lang in de fr nl pl + @${MKDIR} ${PREFIX}/share/locale/${lang}/LC_MESSAGES + ${INSTALL_DATA} ${WRKSRC}/po/${lang}.gmo \ + ${PREFIX}/share/locale/${lang}/LC_MESSAGES/kdissert.mo +.endfor + @${MKDIR} ${PREFIX}/share/mimelnk/application + ${INSTALL_DATA} ${WRKSRC}/src/appdata/x-kdissert.desktop \ + ${PREFIX}/share/mimelnk/application + @${MKDIR} ${PREFIX}/share/services + ${INSTALL_DATA} ${WRKSRC}/src/appdata/kdissertpart.desktop \ + ${PREFIX}/share/services .include <bsd.port.mk> diff --git a/deskutils/semantik/distinfo b/deskutils/semantik/distinfo index f533af687995..af05c246ac46 100644 --- a/deskutils/semantik/distinfo +++ b/deskutils/semantik/distinfo @@ -1,2 +1,2 @@ -MD5 (kdissert-0.3.1.tar.bz2) = 78e8f19733df54e0f47479aaa3d27d98 -SIZE (kdissert-0.3.1.tar.bz2) = 443163 +MD5 (kdissert-0.3.4.1.tar.bz2) = d3ee0bec6fcbe1c7b81eb00d4eb1a2d4 +SIZE (kdissert-0.3.4.1.tar.bz2) = 506195 diff --git a/deskutils/semantik/files/patch-SConstruct b/deskutils/semantik/files/patch-SConstruct new file mode 100644 index 000000000000..148e53cb9a85 --- /dev/null +++ b/deskutils/semantik/files/patch-SConstruct @@ -0,0 +1,13 @@ +--- SConstruct.orig Sun Jan 16 00:08:50 2005 ++++ SConstruct Tue Jan 18 19:45:45 2005 +@@ -14,6 +14,10 @@ + + env.AppendUnique(LIBS = ['qt-mt', 'kdecore']) + ++env['CXX'] = "%%CXX%%" ++env['CXXFLAGS'] = "%%CXXFLAGS%%" ++env.AppendUnique(LINKFLAGS = ['%%LINKFLAGS%%']) ++ + env['ITARGETS'] = [] + + ### subdirectories diff --git a/deskutils/semantik/pkg-plist b/deskutils/semantik/pkg-plist index cf870fcc83d9..5fc84dbe7955 100644 --- a/deskutils/semantik/pkg-plist +++ b/deskutils/semantik/pkg-plist @@ -25,11 +25,14 @@ share/apps/kdissert/templatedata/kdisspdflatexarticle.tar.gz share/apps/kdissert/templatedata/kdisspdflatexbook.tar.gz share/apps/kdissert/templatedata/kdissprosperslides.tar.gz share/apps/kdissert/tips +share/apps/kdissertpart/kdissertpart.rc share/config.kcfg/kdissert.kcfg -share/doc/HTML/en/kdissert/common share/doc/HTML/en/kdissert/index.cache.bz2 share/doc/HTML/en/kdissert/index.docbook share/doc/HTML/en/kdissert/screenshot.png +share/doc/HTML/fr/kdissert/index.cache.bz2 +share/doc/HTML/fr/kdissert/index.docbook +share/doc/HTML/fr/kdissert/screenshot.png share/icons/crystalsvg/128x128/actions/kdissert_sort.png share/icons/crystalsvg/16x16/actions/kdissert_link.png share/icons/crystalsvg/16x16/actions/kdissert_point.png @@ -48,42 +51,12 @@ share/icons/hicolor/64x64/apps/kdissert.png share/locale/de/LC_MESSAGES/kdissert.mo share/locale/fr/LC_MESSAGES/kdissert.mo share/locale/nl/LC_MESSAGES/kdissert.mo -share/locale/no/LC_MESSAGES/kdissert.mo share/locale/pl/LC_MESSAGES/kdissert.mo share/mimelnk/application/x-kdissert.desktop -@unexec rmdir %D/share/mimelnk/application 2>/dev/null || true -@unexec rmdir %D/share/icons/hicolor/64x64/apps 2>/dev/null || true -@unexec rmdir %D/share/icons/hicolor/64x64 2>/dev/null || true -@unexec rmdir %D/share/icons/hicolor/32x32/apps 2>/dev/null || true -@unexec rmdir %D/share/icons/hicolor/32x32 2>/dev/null || true -@unexec rmdir %D/share/icons/hicolor/16x16/apps 2>/dev/null || true -@unexec rmdir %D/share/icons/hicolor/16x16 2>/dev/null || true -@unexec rmdir %D/share/icons/hicolor/128x128/apps 2>/dev/null || true -@unexec rmdir %D/share/icons/hicolor/128x128 2>/dev/null || true -@dirrm share/icons/crystalsvg/64x64/actions/kdissert -@unexec rmdir %D/share/icons/crystalsvg/64x64/actions 2>/dev/null || true -@unexec rmdir %D/share/icons/crystalsvg/64x64 2>/dev/null || true -@dirrm share/icons/crystalsvg/32x32/actions/kdissert -@unexec rmdir %D/share/icons/crystalsvg/32x32/actions 2>/dev/null || true -@unexec rmdir %D/share/icons/crystalsvg/32x32 2>/dev/null || true -@dirrm share/icons/crystalsvg/22x22/actions/kdissert -@unexec rmdir %D/share/icons/crystalsvg/22x22/actions 2>/dev/null || true -@unexec rmdir %D/share/icons/crystalsvg/22x22 2>/dev/null || true -@dirrm share/icons/crystalsvg/16x16/actions/kdissert -@unexec rmdir %D/share/icons/crystalsvg/16x16/actions 2>/dev/null || true -@unexec rmdir %D/share/icons/crystalsvg/16x16 2>/dev/null || true -@dirrm share/icons/crystalsvg/128x128/actions/kdissert -@unexec rmdir %D/share/icons/crystalsvg/128x128/actions 2>/dev/null || true -@unexec rmdir %D/share/icons/crystalsvg/128x128 2>/dev/null || true -@unexec rmdir %D/share/icons/crystalsvg 2>/dev/null || true -@unexec rmdir %D/share/icons 2>/dev/null || true +share/services/kdissertpart.desktop +@dirrm share/doc/HTML/fr/kdissert @dirrm share/doc/HTML/en/kdissert -@unexec rmdir %D/share/doc/HTML/en 2>/dev/null || true +@dirrm share/apps/kdissertpart @dirrm share/apps/kdissert/templatedata @dirrm share/apps/kdissert/pics @dirrm share/apps/kdissert -@unexec rmdir %D/share/apps 2>/dev/null || true -@unexec rmdir %D/share/applnk/Utilities 2>/dev/null || true -@unexec rmdir %D/share/applnk 2>/dev/null || true -@unexec rmdir %D/share/applications/kde 2>/dev/null || true -@unexec rmdir %D/share/applications 2>/dev/null || true |