Add a grisbi.desktop file, and fix @bin marker.

ok ajacoutot@ jasper@
This commit is contained in:
landry 2008-09-23 19:37:06 +00:00
parent 17244e1822
commit d956071642
2 changed files with 14 additions and 4 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.4 2008/05/31 23:11:54 sthen Exp $ # $OpenBSD: Makefile,v 1.5 2008/09/23 19:37:06 landry Exp $
COMMENT= personal accounting application COMMENT= personal accounting application
DISTNAME= grisbi-0.5.9 DISTNAME= grisbi-0.5.9
PKGNAME= ${DISTNAME}p1 PKGNAME= ${DISTNAME}p2
CATEGORIES= productivity x11 CATEGORIES= productivity x11
EXTRACT_SUFX= .tar.bz2 EXTRACT_SUFX= .tar.bz2
@ -31,6 +31,8 @@ LIB_DEPENDS= xml2.>=9::textproc/libxml \
gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2 \ gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2 \
ofx.>=3::devel/libofx ofx.>=3::devel/libofx
RUN_DEPENDS= ::devel/desktop-file-utils
USE_X11= Yes USE_X11= Yes
USE_GMAKE= Yes USE_GMAKE= Yes
@ -38,4 +40,9 @@ CONFIGURE_STYLE=gnu
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \ CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include" CPPFLAGS="-I${LOCALBASE}/include"
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/applications/
${SUBST_CMD} -c ${FILESDIR}/grisbi.desktop \
${PREFIX}/share/applications/grisbi.desktop
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,6 +1,7 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/03/19 11:10:18 ajacoutot Exp $ @comment $OpenBSD: PLIST,v 1.2 2008/09/23 19:37:06 landry Exp $
bin/grisbi @bin bin/grisbi
@man man/man1/grisbi.1 @man man/man1/grisbi.1
share/applications/grisbi.desktop
share/doc/grisbi/ share/doc/grisbi/
share/doc/grisbi/help/ share/doc/grisbi/help/
share/doc/grisbi/help/C/ share/doc/grisbi/help/C/
@ -61,3 +62,5 @@ share/pixmaps/grisbi/payment-methods.png
share/pixmaps/grisbi/reconciliation.png share/pixmaps/grisbi/reconciliation.png
share/pixmaps/grisbi/transaction-list.png share/pixmaps/grisbi/transaction-list.png
share/pixmaps/grisbi/warnings.png share/pixmaps/grisbi/warnings.png
@exec %D/bin/update-desktop-database
@unexec %D/bin/update-desktop-database