pkgsrc/comms/jpilot/Makefile

54 lines
1.4 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.79 2012/03/03 00:12:31 wiz Exp $
#
DISTNAME= jpilot-1.6.0
PKGREVISION= 12
CATEGORIES= comms
2010-01-31 22:39:07 +01:00
MASTER_SITES= http://www.jpilot.org/older/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.jpilot.org/
COMMENT= Desktop organizer application for the palm pilot
PKG_DESTDIR_SUPPORT= user-destdir
CONFLICTS+= jpilot-libplugin-[0-9]*
USE_LIBTOOL= YES
USE_PKGLOCALEDIR= YES
USE_OLD_DES_API= YES
USE_TOOLS+= gmake intltool msgfmt pkg-config
USE_LANGUAGES+= c
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --with-gtk-prefix="${BUILDLINK_PREFIX.gtk2}"
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"
LDFLAGS+= -export-dynamic
2012-02-16 18:20:07 +01:00
.endif
DOCDIR= ${PREFIX}/share/doc/jpilot
INCDIR= ${PREFIX}/include/jpilot
MAN1DIR= ${PREFIX}/${PKGMANDIR}/man1
PLUGINSDIR= ${PREFIX}/lib/jpilot/plugins
.include "../../comms/pilot-link-libs/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
post-extract:
${RM} -f ${WRKSRC}/po/Makefile.in
INSTALLATION_DIRS= ${DOCDIR} ${INCDIR} ${PLUGINSIDR}
2000-06-15 23:14:06 +02:00
post-install:
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
.include "../../mk/bsd.pkg.mk"