openbsd-ports/comms/jpilot/Makefile

50 lines
1.3 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.44 2007/07/13 08:54:26 ajacoutot Exp $
2001-05-05 18:39:36 -04:00
COMMENT= desktop organizer software for the palm pilot
2006-10-20 07:49:42 -04:00
DISTNAME= jpilot-0.99.9
PKGNAME= ${DISTNAME}p5
CATEGORIES= comms palm
MASTER_SITES= ${HOMEPAGE}
2001-02-23 11:17:13 -05:00
HOMEPAGE= http://www.jpilot.org/
2006-10-20 07:49:42 -04:00
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# GPLv2
2000-03-13 19:24:55 -05:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2007-05-07 10:11:00 -04:00
WANTLIB= X11 Xau Xcursor Xdmcp Xext Xfixes Xi Xinerama Xrandr \
Xrender atk-1.0 c cairo crypto expat fontconfig \
freetype glib-2.0 glitz gmodule-2.0 gobject-2.0 m \
pango-1.0 pangocairo-1.0 pangoft2-1.0 png pthread z
2000-03-13 19:24:55 -05:00
2006-10-20 07:49:42 -04:00
LIB_DEPENDS= pisock.>=9::comms/pilot-link \
2006-08-01 18:19:46 -04:00
gtk-x11-2.0.>=400.13,gdk-x11-2.0.>=400.13,gdk_pixbuf-2.0.>=400.13::x11/gtk+2
RUN_DEPENDS= :desktop-file-utils-*:devel/desktop-file-utils
2004-08-10 04:12:09 -04:00
MODULES= devel/gettext
USE_LIBTOOL= yes
USE_X11= yes
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -pthread"
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--with-pilot-prefix=${LOCALBASE} \
--with-gtk-prefix=${LOCALBASE}
2006-10-20 07:49:42 -04:00
MAN1= jpilot-dump.1 jpilot-sync.1 jpilot.1
pre-build:
.for i in ${MAN1}
perl -pi -e "s,/usr/share,${LOCALBASE}/share,g" ${WRKSRC}/docs/${i}
.endfor
.include <bsd.port.mk>