1999-08-31 14:00:48 +00:00
|
|
|
# New ports collection makefile for: jpilot
|
|
|
|
# Date created: 23 August 1999
|
|
|
|
# Whom: Alex Varju <varju@webct.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
1999-09-09 15:27:20 +00:00
|
|
|
# "?=" and "+=" are for including this Makefile from japanese/jpilot
|
1999-08-31 14:00:48 +00:00
|
|
|
|
2000-04-13 09:24:22 +00:00
|
|
|
PORTNAME= jpilot
|
2011-06-23 08:53:13 +00:00
|
|
|
PORTVERSION= 1.8.1
|
2000-04-14 17:10:50 +00:00
|
|
|
CATEGORIES+= palm comms
|
2006-09-25 17:37:25 +00:00
|
|
|
MASTER_SITES= http://www.mirrorservice.org/sites/master.us.finkmirrors.net/distfiles/ \
|
|
|
|
http://jpilot.org/
|
1999-08-31 14:00:48 +00:00
|
|
|
|
2006-06-15 18:12:56 +00:00
|
|
|
MAINTAINER?= samm@os2.kiev.ua
|
2003-10-10 07:17:34 +00:00
|
|
|
COMMENT= Desktop Organizer Software for the Palm Pilot
|
1999-08-31 14:00:48 +00:00
|
|
|
|
2006-09-22 08:10:09 +00:00
|
|
|
LIB_DEPENDS= pisock.9:${PORTSDIR}/palm/pilot-link
|
1999-08-31 14:00:48 +00:00
|
|
|
|
2008-11-08 20:03:36 +00:00
|
|
|
USE_GMAKE= yes
|
2004-07-19 01:51:42 +00:00
|
|
|
USE_GNOME= gnomehier
|
2006-02-23 10:40:44 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2004-07-19 01:51:42 +00:00
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
2011-06-23 08:53:13 +00:00
|
|
|
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib"
|
2004-07-19 01:51:42 +00:00
|
|
|
CONFIGURE_ARGS+= --with-pilot-prefix=${LOCALBASE}
|
2003-12-19 00:37:11 +00:00
|
|
|
|
2011-06-23 08:53:13 +00:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2004-05-02 22:01:44 +00:00
|
|
|
.if !defined(WITHOUT_NLS)
|
2004-07-19 01:51:42 +00:00
|
|
|
USE_GETTEXT= yes
|
2004-05-02 22:01:44 +00:00
|
|
|
CONFIGURE_ARGS+= --enable-nls
|
|
|
|
PLIST_SUB= NLS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
PLIST_SUB= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
2004-07-19 01:51:42 +00:00
|
|
|
USE_GNOME+= gtk20
|
2002-02-09 08:56:58 +00:00
|
|
|
|
2005-11-03 20:23:58 +00:00
|
|
|
MAN1= jpilot-dial.1 jpilot-dump.1 jpilot-sync.1 jpilot.1
|
1999-08-31 14:00:48 +00:00
|
|
|
|
2004-07-19 01:51:42 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= *
|
|
|
|
.endif
|
|
|
|
|
2008-11-08 20:03:36 +00:00
|
|
|
post-build:
|
|
|
|
cd ${WRKSRC}/docs && ${GMAKE}
|
1999-08-31 14:00:48 +00:00
|
|
|
post-install:
|
2004-07-19 01:51:42 +00: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 20:23:58 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs/jpilot-dial.1 ${PREFIX}/man/man1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs/jpilot-dump.1 ${PREFIX}/man/man1
|
2004-07-19 01:51:42 +00: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 22:40:41 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2004-07-19 01:51:42 +00:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
.for ext in html png jpg
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/*.${ext} ${DOCSDIR}
|
|
|
|
.endfor
|
2006-09-22 08:10:09 +00:00
|
|
|
.for i in AUTHORS BUGS COPYING ChangeLog INSTALL README TODO
|
2004-07-19 01:51:42 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/icons/README ${DOCSDIR}/README.icons
|
1999-11-11 22:40:41 +00:00
|
|
|
.endif
|
1999-08-31 14:00:48 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|