# New ports collection makefile for: jpilot # Date created: 23 August 1999 # Whom: Alex Varju # # $FreeBSD$ # # "?=" and "+=" are for including this Makefile from japanese/jpilot PORTNAME= jpilot PORTVERSION= 0.99.7 CATEGORIES+= palm comms MASTER_SITES= http://jpilot.org/ MAINTAINER?= varju@webct.com COMMENT= Desktop Organizer Software for the Palm Pilot LIB_DEPENDS= pisock.8:${PORTSDIR}/palm/pilot-link CONFIGURE_ARGS+= --with-pilot-prefix=${PREFIX} USE_GETTEXT= yes .if defined(WITH_GTK2) USE_GNOME= gtk20 CONFIGURE_ARGS+= --enable-gtk2=yes .else USE_GNOME= gtk12 .endif USE_LIBTOOL= yes INSTALLS_SHLIB= yes LDCONFIG_DIRS= %%PREFIX%%/lib/jpilot/plugins CFLAGS+= -I${PREFIX}/include CONFIGURE_ENV+= CPPFLAGS="-I${PREFIX}/include" LDFLAGS="-L${PREFIX}/lib" MAN1= jpilot-sync.1 jpilot.1 post-install: ${MKDIR} ${PREFIX}/man/man1 ${CP} ${WRKSRC}/docs/jpilot-sync.1 ${PREFIX}/man/man1 ${CP} ${WRKSRC}/docs/jpilot.1 ${PREFIX}/man/man1 ${MKDIR} ${PREFIX}/share/jpilot/icons ${CP} ${WRKSRC}/icons/jpilot-icon1.xpm ${PREFIX}/share/jpilot/icons ${CP} ${WRKSRC}/icons/jpilot-icon2.xpm ${PREFIX}/share/jpilot/icons ${CP} ${WRKSRC}/icons/jpilot-icon3.xpm ${PREFIX}/share/jpilot/icons ${CP} ${WRKSRC}/icons/jpilot-icon4.xpm ${PREFIX}/share/jpilot/icons ${CP} ${WRKSRC}/empty/AddressDB.pdb ${PREFIX}/share/jpilot ${CP} ${WRKSRC}/empty/DatebookDB.pdb ${PREFIX}/share/jpilot ${CP} ${WRKSRC}/empty/ExpenseDB.pdb ${PREFIX}/share/jpilot ${CP} ${WRKSRC}/empty/Memo32DB.pdb ${PREFIX}/share/jpilot ${CP} ${WRKSRC}/empty/MemoDB.pdb ${PREFIX}/share/jpilot ${CP} ${WRKSRC}/empty/ToDoDB.pdb ${PREFIX}/share/jpilot ${CP} ${WRKSRC}/jpilotrc.blue ${PREFIX}/share/jpilot ${CP} ${WRKSRC}/jpilotrc.default ${PREFIX}/share/jpilot ${CP} ${WRKSRC}/jpilotrc.green ${PREFIX}/share/jpilot ${CP} ${WRKSRC}/jpilotrc.purple ${PREFIX}/share/jpilot ${CP} ${WRKSRC}/jpilotrc.steel ${PREFIX}/share/jpilot .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${CP} ${WRKSRC}/docs/manual.html ${DOCSDIR} ${CP} ${WRKSRC}/docs/plugin.html ${DOCSDIR} ${CP} ${WRKSRC}/AUTHORS ${DOCSDIR} ${CP} ${WRKSRC}/BUGS ${DOCSDIR} ${CP} ${WRKSRC}/COPYING ${DOCSDIR} ${CP} ${WRKSRC}/ChangeLog ${DOCSDIR} ${CP} ${WRKSRC}/INSTALL ${DOCSDIR} ${CP} ${WRKSRC}/README ${DOCSDIR} ${CP} ${WRKSRC}/TODO ${DOCSDIR} ${CP} ${WRKSRC}/UPGRADING ${DOCSDIR} ${CP} ${WRKSRC}/docs/jpilot-address.png ${DOCSDIR} ${CP} ${WRKSRC}/docs/jpilot-datebook.png ${DOCSDIR} ${CP} ${WRKSRC}/docs/jpilot-expense.png ${DOCSDIR} ${CP} ${WRKSRC}/docs/jpilot-install.png ${DOCSDIR} ${CP} ${WRKSRC}/docs/jpilot-memo.png ${DOCSDIR} ${CP} ${WRKSRC}/docs/jpilot-prefs.png ${DOCSDIR} ${CP} ${WRKSRC}/docs/jpilot-print.png ${DOCSDIR} ${CP} ${WRKSRC}/docs/jpilot-search.png ${DOCSDIR} ${CP} ${WRKSRC}/docs/jpilot-todo.png ${DOCSDIR} ${CP} ${WRKSRC}/docs/jpilot-toplogo.jpg ${DOCSDIR} ${CP} ${WRKSRC}/icons/README ${DOCSDIR}/README.icons .endif .include