diff options
author | marcus <marcus@FreeBSD.org> | 2006-10-14 16:54:54 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2006-10-14 16:54:54 +0800 |
commit | 0deb7538cc6a5ae90f4e3e4bdbfe6d0ab974aed8 (patch) | |
tree | 17937489af4c767844fc63b684ae3e7b31948812 /graphics/fyre | |
parent | e959473966b963953d63d5f00fae8751f2decf0f (diff) | |
download | freebsd-ports-gnome-0deb7538cc6a5ae90f4e3e4bdbfe6d0ab974aed8.tar.gz freebsd-ports-gnome-0deb7538cc6a5ae90f4e3e4bdbfe6d0ab974aed8.tar.zst freebsd-ports-gnome-0deb7538cc6a5ae90f4e3e4bdbfe6d0ab974aed8.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)
Diffstat (limited to 'graphics/fyre')
-rw-r--r-- | graphics/fyre/Makefile | 13 | ||||
-rw-r--r-- | graphics/fyre/pkg-plist | 29 |
2 files changed, 23 insertions, 19 deletions
diff --git a/graphics/fyre/Makefile b/graphics/fyre/Makefile index ae0a5e45d633..0ed08a440535 100644 --- a/graphics/fyre/Makefile +++ b/graphics/fyre/Makefile @@ -7,7 +7,7 @@ PORTNAME= fyre PORTVERSION= 1.0.0 -PORTREVISION= 2 +PORTREVISION= 4 CATEGORIES= graphics MASTER_SITES= http://samy.kerneled.org/ports/ \ http://www.felinemenace.org/~nemo/ @@ -15,14 +15,15 @@ MASTER_SITES= http://samy.kerneled.org/ports/ \ MAINTAINER= sbahra@kerneled.org COMMENT= Chaos map rendering system with GTK+-2 interface +BUILD_DEPENDS= update-desktop-database:${PORTSDIR}/devel/desktop-file-utils LIB_DEPENDS= Half:${PORTSDIR}/graphics/OpenEXR \ gnet-2.0:${PORTSDIR}/net/gnet2 USE_BZIP2= yes -USE_X_PREFIX= yes -USE_GNOME= libglade2 +USE_XLIB= yes +USE_GNOME= libglade2 desktopfileutils USE_GETOPT_LONG=yes - +INSTALLS_ICONS= yes USE_GMAKE= yes GNU_CONFIGURE= yes MAKE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" @@ -42,10 +43,8 @@ pre-everything:: .endif .endif -# check for update-desktop-database should go here -PLIST_SUB+= WITH_FDO="@comment " - post-install: + @-update-desktop-database .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} diff --git a/graphics/fyre/pkg-plist b/graphics/fyre/pkg-plist index 18a128d1c618..30f9fceb4f5f 100644 --- a/graphics/fyre/pkg-plist +++ b/graphics/fyre/pkg-plist @@ -1,17 +1,22 @@ bin/fyre +share/applications/fyre.desktop %%PORTDOCS%%%%DOCSDIR%%/README -%%WITH_FDO%%share/applications/fyre.desktop -share/fyre/animation-render.glade -share/fyre/explorer.glade -share/fyre/metadata-emblem.png -share/fyre/about-box.fa -share/fyre/fyre-48x48.png -share/fyre/fyre-32x32.png -share/fyre/fyre-16x16.png -%%WITH_FDO%%share/pixmaps/fyre-48x48.png +%%DATADIR%%/about-box.fa +%%DATADIR%%/animation-render.glade +%%DATADIR%%/explorer.glade +%%DATADIR%%/fyre-16x16.png +%%DATADIR%%/fyre-32x32.png +%%DATADIR%%/fyre-48x48.png +%%DATADIR%%/metadata-emblem.png share/icons/hicolor/48x48/mimetypes/application-x-fyre-animation.png -share/mime/packages/fyre.xml share/mime/application/x-fyre-animation.xml -@dirrm share/fyre +share/mime/packages/fyre.xml +share/pixmaps/fyre-48x48.png +@dirrmtry share/pixmaps +@dirrm %%DATADIR%% %%PORTDOCS%%@dirrm %%DOCSDIR%% -%%WITH_FDO%%@dirrmtry share/applications +@dirrmtry share/applications +@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime +@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime +@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true +@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true |