openbsd-ports/comms/jpilot-syncmal/Makefile

48 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.10 2009/08/10 06:30:30 kili Exp $
SHARED_ONLY= Yes
COMMENT= MAL plugin for J-Pilot
DISTNAME= jpilot-syncmal-0.80
PKGNAME= ${DISTNAME}p7
CATEGORIES= comms palm
HOMEPAGE= http://jasonday.home.att.net/code/syncmal/
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# MPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 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 pcre pixman-1
WANTLIB += pthread-stubs xcb z
MODULES= devel/gettext
RUN_DEPENDS= ::comms/jpilot
LIB_DEPENDS= pisock.>=9::comms/pilot-link \
mal.>=1::comms/libmal \
png.>=5::graphics/png \
gtk-x11-2.0.>=400.13,gdk-x11-2.0.>=400.13,gdk_pixbuf-2.0.>=400.13::x11/gtk+2
USE_X11= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I/usr/local/include/libmal" \
LDFLAGS="-L/usr/local/lib -pthread -lmal"
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--with-libmal=${LOCALBASE} \
--enable-static \
--enable-gtk2
.include <bsd.port.mk>