51 lines
1.3 KiB
Makefile
51 lines
1.3 KiB
Makefile
# $OpenBSD: Makefile,v 1.7 2009/03/11 14:48:54 sthen Exp $
|
|
|
|
COMMENT= personal accounting application
|
|
|
|
DISTNAME= grisbi-0.5.9
|
|
PKGNAME= ${DISTNAME}p3
|
|
CATEGORIES= productivity x11
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
HOMEPAGE= http://www.grisbi.org/
|
|
|
|
MAINTAINER= Landry Breuil <gaston@gcu.info>
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=grisbi/}
|
|
|
|
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
|
|
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig
|
|
WANTLIB += freetype gio-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0
|
|
WANTLIB += m pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1 png
|
|
WANTLIB += stdc++ z
|
|
|
|
MODULES= devel/gettext
|
|
|
|
LIB_DEPENDS= xml2.>=9::textproc/libxml \
|
|
gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2 \
|
|
ofx.>=3::devel/libofx
|
|
|
|
RUN_DEPENDS= ::devel/desktop-file-utils
|
|
|
|
USE_X11= Yes
|
|
USE_GMAKE= Yes
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
|
|
CPPFLAGS="-I${LOCALBASE}/include"
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/applications/
|
|
${INSTALL_DATA} ${FILESDIR}/grisbi.desktop \
|
|
${PREFIX}/share/applications/grisbi.desktop
|
|
${SUBST_CMD} ${PREFIX}/share/applications/grisbi.desktop
|
|
|
|
.include <bsd.port.mk>
|