aboutsummaryrefslogtreecommitdiff
path: root/editors/koffice-kde4
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2001-12-04 03:47:18 +0000
committerWill Andrews <will@FreeBSD.org>2001-12-04 03:47:18 +0000
commit1d206a3483e848f4589962473bdf169313ea740f (patch)
tree269caee3e56d61cd6318b44d85c3ff64b32d57b6 /editors/koffice-kde4
parentfb2c030e15fb4b426c06fee701c06b7f44c272ab (diff)
downloadports-1d206a3483e848f4589962473bdf169313ea740f.tar.gz
ports-1d206a3483e848f4589962473bdf169313ea740f.zip
Notes
Diffstat (limited to 'editors/koffice-kde4')
-rw-r--r--editors/koffice-kde4/Makefile19
-rw-r--r--editors/koffice-kde4/pkg-plist14
2 files changed, 23 insertions, 10 deletions
diff --git a/editors/koffice-kde4/Makefile b/editors/koffice-kde4/Makefile
index 94c0250b3b98..cc3b3fbaf9b4 100644
--- a/editors/koffice-kde4/Makefile
+++ b/editors/koffice-kde4/Makefile
@@ -15,6 +15,8 @@ DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
+BUILD_DEPENDS= autoconf213:${PORTSDIR}/devel/autoconf213 \
+ automake14:${PORTSDIR}/devel/automake14
LIB_DEPENDS= iconv.2:${PORTSDIR}/converters/iconv
USE_KDELIBS_VER=2
@@ -22,7 +24,13 @@ USE_PYTHON= yes
PYTHON_VERSION= python2.1
USE_BZIP2= yes
INSTALLS_SHLIB= yes
-USE_AUTOCONF= yes
+GNU_CONFIGURE= yes
+.if defined(PARALLEL_PACKAGE_BUILD) || defined(WANT_KDE_FINAL)
+CONFIGURE_ARGS+=--enable-final
+.endif
+.if defined(PARALLEL_PACKAGE_BUILD) || defined(WANT_KDE_NDEBUG)
+CONFIGURE_ARGS+=--disable-debug
+.endif
USE_GMAKE= yes
post-patch:
@@ -32,6 +40,15 @@ post-patch:
${WRKSRC}/templates/Illustration.desktop
pre-configure:
+ ${MKDIR} ${WRKSRC}/auto-bin
+.for AC in autoconf autoheader
+ ${LN} -sf ${LOCALBASE}/bin/${AC}213 ${WRKSRC}/auto-bin/${AC}
+.endfor
+.for AM in automake aclocal
+ ${LN} -sf ${LOCALBASE}/bin/${AM}14 ${WRKSRC}/auto-bin/${AM}
+.endfor
+ cd ${WRKSRC} && env PATH=$$PATH:${WRKSRC}/auto-bin \
+ ${GMAKE} -f Makefile.cvs
find ${WRKSRC} -name Makefile.in | xargs ${PERL} -pi -e \
"s@LIBPYTHON =@LIBPYTHON= ${PTHREAD_LIBS}@g"
${PERL} -pi -e "s@la_LIBADD =@la_LIBADD= ${PTHREAD_LIBS}@g" \
diff --git a/editors/koffice-kde4/pkg-plist b/editors/koffice-kde4/pkg-plist
index edf5a89b87f8..92d9870a8a02 100644
--- a/editors/koffice-kde4/pkg-plist
+++ b/editors/koffice-kde4/pkg-plist
@@ -1535,23 +1535,19 @@ share/templates/Illustration.desktop
share/templates/Presentation.desktop
share/templates/SpreadSheet.desktop
share/templates/TextDocument.desktop
+@dirrm share/templates/.source
+@dirrm share/templates
@dirrm share/icons/locolor/32x32/apps
+@dirrm share/icons/locolor/32x32
@dirrm share/icons/locolor/22x22/apps
@dirrm share/icons/locolor/22x22
@dirrm share/icons/locolor/16x16/apps
+@dirrm share/icons/locolor/16x16
@dirrm share/icons/locolor
-@dirrm share/icons/hicolor/48x48/mimetypes
@dirrm share/icons/hicolor/48x48/apps
-@dirrm share/icons/hicolor/32x32/mimetypes
@dirrm share/icons/hicolor/32x32/apps
-@dirrm share/icons/hicolor/32x32/actions
@dirrm share/icons/hicolor/22x22/mimetypes
@dirrm share/icons/hicolor/22x22/apps
-@dirrm share/icons/hicolor/22x22/actions
-@dirrm share/icons/hicolor/22x22
-@dirrm share/icons/hicolor/16x16/mimetypes
-@dirrm share/icons/hicolor/16x16/apps
-@dirrm share/icons/hicolor/16x16/actions
@dirrm share/doc/HTML/en/kword
@dirrm share/doc/HTML/en/kugar
@dirrm share/doc/HTML/en/kspread
@@ -1680,4 +1676,4 @@ share/templates/TextDocument.desktop
@dirrm share/apps/kchart/icons
@dirrm share/apps/kchart
@dirrm share/applnk/Office
-@dirrm lib/kde2
+@dirrm share/applnk