e32afb6fea
first component is now a package name+version/pattern, no more executable/patchname/whatnot. While there, introduce BUILD_USES_MSGFMT as shorthand to pull in devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current). Patch by Alistair Crooks <agc@netbsd.org>
50 lines
1.3 KiB
Makefile
50 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.15 2001/03/27 03:19:48 hubertf Exp $
|
|
#
|
|
|
|
DISTNAME= jpilot-0.99
|
|
CATEGORIES= comms
|
|
MASTER_SITES= http://jpilot.org/
|
|
|
|
MAINTAINER= rh@netbsd.org
|
|
HOMEPAGE= http://jpilot.org/
|
|
COMMENT= desktop organizer application for the palm pilot
|
|
|
|
BUILD_USES_MSGFMT= yes
|
|
|
|
BUILD_DEPENDS+= autoconf-2.13:../../devel/autoconf
|
|
DEPENDS+= gtk+>=1.2.0:../../x11/gtk
|
|
DEPENDS+= pilot-link>=0.9.3:../../comms/pilot-link
|
|
|
|
CONFLICTS+= jpilot-libplugin-*
|
|
|
|
GNU_CONFIGURE= # defined
|
|
USE_LIBTOOL= # defined
|
|
USE_X11= # defined
|
|
USE_LIBINTL= # defined
|
|
|
|
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
|
|
EVAL_PREFIX+= GTKDIR=gtk+
|
|
EVAL_PREFIX+= PILOTLINKDIR=pilot-link
|
|
CONFIGURE_ARGS+= --with-gtk-prefix="${GTKDIR}"
|
|
CONFIGURE_ARGS+= --with-pilot-prefix="${PILOTLINKDIR}"
|
|
CONFIGURE_ENV+= PKGLOCALEDIR="${PKGLOCALEDIR}"
|
|
|
|
INCDIR= ${PREFIX}/include/jpilot
|
|
HTMLDIR= ${PREFIX}/share/doc/html/jpilot
|
|
MAN1DIR= ${PREFIX}/man/man1
|
|
PLUGINSDIR= ${PREFIX}/lib/jpilot/plugins
|
|
|
|
post-extract:
|
|
${RM} -f ${WRKSRC}/po/Makefile.in
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC} && ${LOCALBASE}/bin/autoconf
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${INCDIR} ${HTMLDIR} ${PLUGINSDIR}
|
|
cd ${WRKSRC}; ${INSTALL_DATA} libplugin.h prefs.h ${INCDIR}
|
|
cd ${WRKSRC}/docs; ${INSTALL_DATA} *.html ${HTMLDIR}
|
|
cd ${WRKSRC}/docs; ${INSTALL_MAN} *.1 ${MAN1DIR}
|
|
${TOUCH} ${PLUGINSDIR}/.directory
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|