2012-03-03 01:11:51 +01:00
|
|
|
# $NetBSD: Makefile,v 1.79 2012/03/03 00:12:31 wiz Exp $
|
2000-06-15 11:14:23 +02:00
|
|
|
#
|
|
|
|
|
2008-10-09 21:01:57 +02:00
|
|
|
DISTNAME= jpilot-1.6.0
|
2012-03-03 01:11:51 +01:00
|
|
|
PKGREVISION= 12
|
2000-06-15 11:14:23 +02:00
|
|
|
CATEGORIES= comms
|
2010-01-31 22:39:07 +01:00
|
|
|
MASTER_SITES= http://www.jpilot.org/older/
|
2000-06-15 11:14:23 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2007-02-22 20:01:13 +01:00
|
|
|
HOMEPAGE= http://www.jpilot.org/
|
2003-07-21 18:35:12 +02:00
|
|
|
COMMENT= Desktop organizer application for the palm pilot
|
2000-06-15 11:14:23 +02:00
|
|
|
|
2010-01-27 20:22:35 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2001-09-28 01:17:41 +02:00
|
|
|
CONFLICTS+= jpilot-libplugin-[0-9]*
|
2001-03-01 22:40:20 +01:00
|
|
|
|
2004-02-14 18:21:32 +01:00
|
|
|
USE_LIBTOOL= YES
|
2003-01-10 05:34:18 +01:00
|
|
|
USE_PKGLOCALEDIR= YES
|
2004-12-15 17:00:23 +01:00
|
|
|
USE_OLD_DES_API= YES
|
2008-10-09 21:01:57 +02:00
|
|
|
USE_TOOLS+= gmake intltool msgfmt pkg-config
|
2006-11-20 19:34:27 +01:00
|
|
|
USE_LANGUAGES+= c
|
2002-09-21 09:14:02 +02:00
|
|
|
|
2003-01-10 05:34:18 +01:00
|
|
|
GNU_CONFIGURE= YES
|
2006-11-20 19:34:27 +01:00
|
|
|
CONFIGURE_ARGS+= --with-gtk-prefix="${BUILDLINK_PREFIX.gtk2}"
|
2002-09-21 09:14:02 +02:00
|
|
|
CONFIGURE_ARGS+= --with-pilot-prefix="${BUILDLINK_PREFIX.pilot-link-libs}"
|
2012-02-16 18:20:07 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} != "SunOS"
|
2003-01-10 05:34:18 +01:00
|
|
|
LDFLAGS+= -export-dynamic
|
2012-02-16 18:20:07 +01:00
|
|
|
.endif
|
2000-06-15 11:14:23 +02:00
|
|
|
|
2002-09-21 09:14:02 +02:00
|
|
|
DOCDIR= ${PREFIX}/share/doc/jpilot
|
2001-03-01 21:38:14 +01:00
|
|
|
INCDIR= ${PREFIX}/include/jpilot
|
2007-01-07 10:13:46 +01:00
|
|
|
MAN1DIR= ${PREFIX}/${PKGMANDIR}/man1
|
2001-03-01 21:38:14 +01:00
|
|
|
PLUGINSDIR= ${PREFIX}/lib/jpilot/plugins
|
|
|
|
|
2004-12-15 17:01:48 +01:00
|
|
|
.include "../../comms/pilot-link-libs/buildlink3.mk"
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
|
|
|
|
2001-03-01 21:38:14 +01:00
|
|
|
post-extract:
|
|
|
|
${RM} -f ${WRKSRC}/po/Makefile.in
|
|
|
|
|
2010-01-27 20:22:35 +01:00
|
|
|
INSTALLATION_DIRS= ${DOCDIR} ${INCDIR} ${PLUGINSIDR}
|
|
|
|
|
2000-06-15 23:14:06 +02:00
|
|
|
post-install:
|
2010-01-27 20:22:35 +01:00
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} libplugin.h prefs.h ${DESTDIR}${INCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/BUGS ${DESTDIR}${DOCDIR}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs/*.1 ${DESTDIR}${MAN1DIR}
|
|
|
|
${TOUCH} ${DESTDIR}${PLUGINSDIR}/.directory
|
2000-06-15 23:14:06 +02:00
|
|
|
|
2000-06-15 11:14:23 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|