diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-07-11 17:16:10 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-07-11 17:16:10 +0000 |
commit | 19a718ac4c38750e766de7abf027f0491981495d (patch) | |
tree | 8fad9fa05facfd939ca92589f047e5224dffd236 /editors/abiword | |
parent | 47c68887b223642a73baccd0fa69c8caf7845044 (diff) | |
download | ports-19a718ac4c38750e766de7abf027f0491981495d.tar.gz ports-19a718ac4c38750e766de7abf027f0491981495d.zip |
Notes
Diffstat (limited to 'editors/abiword')
-rw-r--r-- | editors/abiword/Makefile | 20 | ||||
-rw-r--r-- | editors/abiword/pkg-plist | 4 |
2 files changed, 13 insertions, 11 deletions
diff --git a/editors/abiword/Makefile b/editors/abiword/Makefile index d22d8ded7998..7452cec1b423 100644 --- a/editors/abiword/Makefile +++ b/editors/abiword/Makefile @@ -32,16 +32,17 @@ WRKSRC= ${WRKDIR}/abiword-${PORTVERSION}/abi USE_X_PREFIX= yes USE_AUTOMAKE= yes USE_GMAKE= yes -USE_GTK= yes +USE_REINPLACE= yes +USE_GNOMENG= yes +USE_GNOME= gtk12 gnomehier WANT_GNOME= yes AUTOMAKE= ${WRKSRC}/autogen.sh && ${FIXME} -CONFIGURE_ARGS= --datadir=${PREFIX}/share CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib -liconv" MAKEFILE= GNUmakefile -FIXME= find ${WRKSRC} -name GNUmakefile.in | xargs ${PERL} -pi -e \ - 's|\$$\(libdir\)/\@PACKAGE\@|\$$\(datadir\)/\@PACKAGE\@|g ; \ - s|\@DEFS\@|-I${WRKSRC}/../libiconv/include \@DEFS\@|g' +FIXME= find ${WRKSRC} -name GNUmakefile.in | xargs ${REINPLACE_CMD} -e \ + 's|[(]libdir[)]/@PACKAGE@|(datadir)/@PACKAGE@|g ; \ + s|@DEFS@|-I${WRKSRC}/../libiconv/include @DEFS@|g' && ${TRUE} .if defined(PACKAGE_BUILDING) || defined(PARALLEL_PACKAGE_BUILD) .undef WITHOUT_GNOME @@ -51,9 +52,12 @@ WITH_GNOME= yes .include <bsd.port.pre.mk> -.if defined(HAVE_GNOME) -USE_GNOME= yes +# bonobox bonobox_print gnomeui gal print vfs gdk_pixbuf + +.if ${HAVE_GNOME:Mgnomeprint}!="" && ${HAVE_GNOME:Mgal}!="" && ${HAVE_GNOME:Mgnomevfs}!="" +USE_GNOME+= gnomeprint gal gnomevfs CONFIGURE_ARGS+=--enable-gnome +PKGNAMESUFFIX= -gnome .endif post-patch: @@ -68,11 +72,9 @@ pre-configure: post-install: @${CAT} ${PKGMESSAGE} -.if defined(HAVE_GNOME) @${INSTALL_DATA} ${WRKSRC}/src/pkg/linux/rpm/data/abiword.desktop \ ${PREFIX}/share/gnome/apps/Applications/abiword.desktop @${LN} -sf ${PREFIX}/share/AbiSuite/icons/abiword_48.png \ ${PREFIX}/share/gnome/pixmaps/abiword_48.png -.endif .include <bsd.port.post.mk> diff --git a/editors/abiword/pkg-plist b/editors/abiword/pkg-plist index 0d6fc9c22a39..5be4b8a8019e 100644 --- a/editors/abiword/pkg-plist +++ b/editors/abiword/pkg-plist @@ -300,8 +300,8 @@ share/AbiSuite/icons/abiword_48.tif share/AbiSuite/icons/abiword_48.xpm %%GNOME:%%share/AbiSuite/icons/abiword_logo.xpm share/AbiSuite/templates/normal.awt -%%GNOME:%%share/gnome/apps/Applications/abiword.desktop -%%GNOME:%%share/gnome/pixmaps/abiword_48.png +share/gnome/apps/Applications/abiword.desktop +share/gnome/pixmaps/abiword_48.png @dirrm share/AbiSuite/templates @dirrm share/AbiSuite/icons @dirrm share/AbiSuite/fonts |