summaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
Diffstat (limited to 'editors')
-rw-r--r--editors/calligra/Makefile19
-rw-r--r--editors/calligra/pkg-plist14
-rw-r--r--editors/koffice-kde3/Makefile19
-rw-r--r--editors/koffice-kde3/pkg-plist14
-rw-r--r--editors/koffice-kde4/Makefile19
-rw-r--r--editors/koffice-kde4/pkg-plist14
-rw-r--r--editors/koffice/Makefile19
-rw-r--r--editors/koffice/pkg-plist14
8 files changed, 92 insertions, 40 deletions
diff --git a/editors/calligra/Makefile b/editors/calligra/Makefile
index 94c0250..cc3b3fb 100644
--- a/editors/calligra/Makefile
+++ b/editors/calligra/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/calligra/pkg-plist b/editors/calligra/pkg-plist
index edf5a89..92d9870 100644
--- a/editors/calligra/pkg-plist
+++ b/editors/calligra/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
diff --git a/editors/koffice-kde3/Makefile b/editors/koffice-kde3/Makefile
index 94c0250..cc3b3fb 100644
--- a/editors/koffice-kde3/Makefile
+++ b/editors/koffice-kde3/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-kde3/pkg-plist b/editors/koffice-kde3/pkg-plist
index edf5a89..92d9870 100644
--- a/editors/koffice-kde3/pkg-plist
+++ b/editors/koffice-kde3/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
diff --git a/editors/koffice-kde4/Makefile b/editors/koffice-kde4/Makefile
index 94c0250..cc3b3fb 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 edf5a89..92d9870 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
diff --git a/editors/koffice/Makefile b/editors/koffice/Makefile
index 94c0250..cc3b3fb 100644
--- a/editors/koffice/Makefile
+++ b/editors/koffice/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/pkg-plist b/editors/koffice/pkg-plist
index edf5a89..92d9870 100644
--- a/editors/koffice/pkg-plist
+++ b/editors/koffice/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
OpenPOWER on IntegriCloud