summaryrefslogtreecommitdiff
path: root/editors/abiword
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2006-10-14 08:54:54 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2006-10-14 08:54:54 +0000
commit29747f458a1eb2ce23b4594b09d0256dd62760b8 (patch)
tree1b71ba5d9ffdd308b6c18130f7c116f5bab5dc12 /editors/abiword
parent- Add goocanvas (diff)
Chase the GNOME X11BASE to LOCALBASE move, and fix the build with the
new freetype2 where needed. Submitted by: mezz, ahze, pav, and many others Approved by: portmgr (implicit, kris)
Notes
Notes: svn path=/head/; revision=175261
Diffstat (limited to 'editors/abiword')
-rw-r--r--editors/abiword/Makefile25
-rw-r--r--editors/abiword/files/patch-ar4
-rw-r--r--editors/abiword/pkg-plist1
3 files changed, 14 insertions, 16 deletions
diff --git a/editors/abiword/Makefile b/editors/abiword/Makefile
index 6572b9149b3f..37093dc65e0e 100644
--- a/editors/abiword/Makefile
+++ b/editors/abiword/Makefile
@@ -3,11 +3,12 @@
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/editors/abiword/Makefile,v 1.2 2005/10/29 22:31:16 marcus Exp $
+# $MCom: ports/editors/abiword/Makefile,v 1.6 2006/09/30 04:39:56 ahze Exp $
#
PORTNAME= abiword
PORTVERSION= 2.4.5
+PORTREVISION= 2
CATEGORIES= editors
MASTER_SITES= http://www.abisource.com/downloads/%SUBDIR%/${PORTVERSION}/source/
MASTER_SITE_SUBDIR= abiword
@@ -28,7 +29,7 @@ USE_GMAKE= yes
USE_ICONV= yes
USE_GNOME= libglade2 libxml2 libgnomeprintui desktopfileutils
WANT_GNOME= yes
-USE_X_PREFIX= yes
+USE_XLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-xft \
--with-sys-wv \
@@ -72,8 +73,8 @@ PKGNAMESUFFIX:= -gnome
GNOME_ENABLED= yes
.endif
-.if defined(WITH_GUCHARMAP) || exists(${X11BASE}/libdata/pkgconfig/gucharmap.pc)
-LIB_DEPENDS+= gucharmap.4:${PORTSDIR}/deskutils/gucharmap
+.if defined(WITH_GUCHARMAP) || exists(${LOCALBASE}/libdata/pkgconfig/gucharmap.pc)
+LIB_DEPENDS+= gucharmap.5:${PORTSDIR}/deskutils/gucharmap
.else
CONFIGURE_ARGS+= --enable-cmap=no
.endif
@@ -99,19 +100,19 @@ post-patch:
post-install:
@${MKDIR} ${PREFIX}/lib/AbiWord-${ABIVERSION}/plugins
- @${MKDIR} ${X11BASE}/share/applications
+ @${MKDIR} ${LOCALBASE}/share/applications
@${INSTALL_DATA} ${WRKSRC}/abiword.desktop \
- ${X11BASE}/share/applications/abiword.desktop
- @${MKDIR} ${X11BASE}/share/pixmaps
+ ${LOCALBASE}/share/applications/abiword.desktop
+ @${MKDIR} ${LOCALBASE}/share/pixmaps
@${LN} -sf ${PREFIX}/share/AbiSuite-${ABIVERSION}/icons/abiword_48.png \
- ${X11BASE}/share/pixmaps/abiword_48.png
+ ${LOCALBASE}/share/pixmaps/abiword_48.png
.if defined(GNOME_ENABLED)
- @${MKDIR} ${X11BASE}/libdata/bonobo/servers
+ @${MKDIR} ${LOCALBASE}/libdata/bonobo/servers
@${INSTALL_DATA} ${WRKDIR}/abiword-${PORTVERSION}/abidistfiles/GNOME_AbiWord_Control_${ABIVERSION:S/./_/}.server \
- ${X11BASE}/libdata/bonobo/servers/
- @${MKDIR} ${X11BASE}/share/gnome/gnome-2.0/ui
+ ${LOCALBASE}/libdata/bonobo/servers/
+ @${MKDIR} ${LOCALBASE}/share/gnome/gnome-2.0/ui
@${INSTALL_DATA} ${WRKDIR}/abiword-${PORTVERSION}/abidistfiles/abi-nautilus-view-file.xml \
- ${X11BASE}/share/gnome/gnome-2.0/ui/
+ ${LOCALBASE}/share/gnome/gnome-2.0/ui/
.endif
@-update-desktop-database
diff --git a/editors/abiword/files/patch-ar b/editors/abiword/files/patch-ar
index fb71cb0b6a26..7e5c85d3ddca 100644
--- a/editors/abiword/files/patch-ar
+++ b/editors/abiword/files/patch-ar
@@ -1,7 +1,3 @@
-
-$FreeBSD$
-$MCom: ports/editors/abiword/files/patch-ar,v 1.2 2005/10/14 20:39:57 adamw Exp $
-
--- src/pkg/common/unix/scripts/install.sh.orig Sat Apr 7 10:59:52 2001
+++ src/pkg/common/unix/scripts/install.sh Wed Aug 8 13:31:57 2001
@@ -80,7 +80,7 @@
diff --git a/editors/abiword/pkg-plist b/editors/abiword/pkg-plist
index 05f78dc8074d..cb5b016940f3 100644
--- a/editors/abiword/pkg-plist
+++ b/editors/abiword/pkg-plist
@@ -292,6 +292,7 @@ share/pixmaps/abiword_48.png
@dirrm share/AbiSuite-%%ABIVERSION%%/AbiWord/glade
@dirrm share/AbiSuite-%%ABIVERSION%%/AbiWord
@dirrm share/AbiSuite-%%ABIVERSION%%
+@dirrmtry share/pixmaps
@exec /bin/mkdir -p %D/lib/AbiWord-%%ABIVERSION%%/plugins
@dirrmtry lib/AbiWord-%%ABIVERSION%%/plugins
@dirrmtry lib/AbiWord-%%ABIVERSION%%