1999-08-31 16:00:48 +02:00
|
|
|
# New ports collection makefile for: jpilot
|
|
|
|
# Date created: 23 August 1999
|
|
|
|
# Whom: Alex Varju <varju@webct.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
1999-09-09 17:27:20 +02:00
|
|
|
# "?=" and "+=" are for including this Makefile from japanese/jpilot
|
1999-08-31 16:00:48 +02:00
|
|
|
|
2000-04-13 11:24:22 +02:00
|
|
|
PORTNAME= jpilot
|
2006-09-22 10:10:09 +02:00
|
|
|
PORTVERSION= 0.99.9
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 2
|
2000-04-14 19:10:50 +02:00
|
|
|
CATEGORIES+= palm comms
|
2006-09-25 19:37:25 +02:00
|
|
|
MASTER_SITES= http://www.mirrorservice.org/sites/master.us.finkmirrors.net/distfiles/ \
|
|
|
|
http://jpilot.org/
|
1999-08-31 16:00:48 +02:00
|
|
|
|
2006-06-15 20:12:56 +02:00
|
|
|
MAINTAINER?= samm@os2.kiev.ua
|
2003-10-10 09:17:34 +02:00
|
|
|
COMMENT= Desktop Organizer Software for the Palm Pilot
|
1999-08-31 16:00:48 +02:00
|
|
|
|
2006-09-22 10:10:09 +02:00
|
|
|
LIB_DEPENDS= pisock.9:${PORTSDIR}/palm/pilot-link
|
1999-08-31 16:00:48 +02:00
|
|
|
|
2004-07-19 03:51:42 +02:00
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GNOME= gnomehier
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2004-07-19 03:51:42 +02:00
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
CONFIGURE_ENV+= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
CONFIGURE_ARGS+= --with-pilot-prefix=${LOCALBASE}
|
2006-09-22 10:10:09 +02:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
LDCONFIG_DIRS= %%PREFIX%%/lib/jpilot/plugins
|
2003-12-19 01:37:11 +01:00
|
|
|
|
2004-05-03 00:01:44 +02:00
|
|
|
.if !defined(WITHOUT_NLS)
|
2004-07-19 03:51:42 +02:00
|
|
|
USE_GETTEXT= yes
|
2004-05-03 00:01:44 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-nls
|
|
|
|
PLIST_SUB= NLS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
PLIST_SUB= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
2004-07-19 03:51:42 +02:00
|
|
|
.if defined(WITH_GTK1)
|
|
|
|
USE_GNOME+= gtk12
|
2006-09-22 10:10:09 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-gtk2=yes
|
2004-07-19 03:51:42 +02:00
|
|
|
.else
|
|
|
|
USE_GNOME+= gtk20
|
|
|
|
.endif
|
2002-02-09 09:56:58 +01:00
|
|
|
|
2005-11-03 21:23:58 +01:00
|
|
|
MAN1= jpilot-dial.1 jpilot-dump.1 jpilot-sync.1 jpilot.1
|
1999-08-31 16:00:48 +02:00
|
|
|
|
2004-07-19 03:51:42 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= *
|
|
|
|
.endif
|
|
|
|
|
1999-08-31 16:00:48 +02:00
|
|
|
post-install:
|
2004-07-19 03:51:42 +02:00
|
|
|
@${FIND} ${PREFIX}/lib/jpilot ! -type d | \
|
|
|
|
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
|
|
|
|
@${FIND} ${PREFIX}/lib/jpilot -type d | ${SORT} -r | \
|
|
|
|
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
|
2005-11-03 21:23:58 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs/jpilot-dial.1 ${PREFIX}/man/man1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs/jpilot-dump.1 ${PREFIX}/man/man1
|
2004-07-19 03:51:42 +02:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs/jpilot-sync.1 ${PREFIX}/man/man1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs/jpilot.1 ${PREFIX}/man/man1
|
|
|
|
@${MKDIR} ${DATADIR}/icons
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/icons/*.xpm ${DATADIR}/icons
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/empty/*.pdb ${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/jpilotrc.* ${DATADIR}
|
|
|
|
@${FIND} ${DATADIR} ! -type d | \
|
|
|
|
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
|
|
|
|
@${FIND} ${DATADIR} -type d | ${SORT} -r | \
|
|
|
|
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
|
1999-11-11 23:40:41 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2004-07-19 03:51:42 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
.for ext in html png jpg
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/*.${ext} ${DOCSDIR}
|
|
|
|
.endfor
|
2006-09-22 10:10:09 +02:00
|
|
|
.for i in AUTHORS BUGS COPYING ChangeLog INSTALL README TODO
|
2004-07-19 03:51:42 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/icons/README ${DOCSDIR}/README.icons
|
1999-11-11 23:40:41 +01:00
|
|
|
.endif
|
1999-08-31 16:00:48 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|