[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / comms / jpilot

File: [cvs.NetBSD.org] / pkgsrc / comms / jpilot / Makefile (download)

Revision 1.49, Mon Sep 5 07:51:58 2005 UTC (15 years, 3 months ago) by rh
Branch: MAIN
CVS Tags: pkgsrc-2005Q4-base, pkgsrc-2005Q4, pkgsrc-2005Q3-base, pkgsrc-2005Q3
Changes since 1.48: +6 -9 lines

Commit the remaining files for the jpilot 0.99.7 upgrade.
Minor changes and bugfixes only.
Closes PR pkg/24635 by Brian de Alwis.

# $NetBSD: Makefile,v 1.49 2005/09/05 07:51:58 rh Exp $
#

DISTNAME=		jpilot-0.99.7
CATEGORIES=		comms
MASTER_SITES=		http://jpilot.org/

MAINTAINER=		tech-pkg@NetBSD.org
HOMEPAGE=		http://jpilot.org/
COMMENT=		Desktop organizer application for the palm pilot

BUILD_USES_MSGFMT=	YES

CONFLICTS+=		jpilot-libplugin-[0-9]*

USE_LIBTOOL=		YES
USE_PKGLOCALEDIR=	YES
USE_X11=		YES
USE_OLD_DES_API=	YES
USE_DIRS+=		gnome1-1.0
USE_TOOLS+=		pkg-config

GNU_CONFIGURE=		YES
CONFIGURE_ARGS+=	--with-gtk-prefix="${BUILDLINK_PREFIX.gtk}"
CONFIGURE_ARGS+=	--with-pilot-prefix="${BUILDLINK_PREFIX.pilot-link-libs}"
CONFIGURE_ARGS+=	--enable-gtk2
LDFLAGS+=		-export-dynamic

DOCDIR=			${PREFIX}/share/doc/jpilot
INCDIR=			${PREFIX}/include/jpilot
MAN1DIR=		${PREFIX}/man/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

pre-configure:
	for file in ${WRKSRC}/docs/jpilot.1; do				\
		${SED}	-e "s|@PREFIX@|${PREFIX}|g"			\
			$${file} > $${file}.fixed;			\
		${MV} -f $${file}.fixed $${file};			\
	done

post-install:
	${INSTALL_DATA_DIR} ${DOCDIR}
	${INSTALL_DATA_DIR} ${INCDIR}
	${INSTALL_DATA_DIR} ${PLUGINSDIR}
	cd ${WRKSRC}; ${INSTALL_DATA} libplugin.h prefs.h ${INCDIR}
	${INSTALL_DATA} ${WRKSRC}/BUGS ${DOCDIR}
	cd ${WRKSRC}/docs; ${INSTALL_MAN} *.1 ${MAN1DIR}
	${TOUCH} ${PLUGINSDIR}/.directory

.include "../../mk/bsd.pkg.mk"