diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2006-10-14 08:54:54 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2006-10-14 08:54:54 +0000 |
commit | 29747f458a1eb2ce23b4594b09d0256dd62760b8 (patch) | |
tree | 1b71ba5d9ffdd308b6c18130f7c116f5bab5dc12 /editors/abiword/Makefile | |
parent | 7aad84f808b93baa6a7077ce0b47573b9c4c79a0 (diff) | |
download | ports-29747f458a1eb2ce23b4594b09d0256dd62760b8.tar.gz ports-29747f458a1eb2ce23b4594b09d0256dd62760b8.zip |
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/Makefile')
-rw-r--r-- | editors/abiword/Makefile | 25 |
1 files changed, 13 insertions, 12 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 |