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
|
2005-11-03 20:23:58 +00:00
|
|
|
PORTVERSION= 0.99.8
|
2005-11-05 05:22:06 +00:00
|
|
|
PORTREVISION= 1
|
2000-04-14 17:10:50 +00:00
|
|
|
CATEGORIES+= palm comms
|
2003-10-10 07:17:34 +00:00
|
|
|
MASTER_SITES= http://jpilot.org/
|
1999-08-31 14:00:48 +00:00
|
|
|
|
2004-08-21 06:22:57 +00:00
|
|
|
MAINTAINER?= freebsd-ports@varju.ca
|
2003-10-10 07:17:34 +00:00
|
|
|
COMMENT= Desktop Organizer Software for the Palm Pilot
|
1999-08-31 14:00:48 +00:00
|
|
|
|
2004-02-04 04:36:30 +00:00
|
|
|
LIB_DEPENDS= pisock.8:${PORTSDIR}/palm/pilot-link
|
1999-08-31 14:00:48 +00:00
|
|
|
|
2004-07-19 01:51:42 +00:00
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GNOME= gnomehier
|
2005-11-15 06:52:12 +00:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2004-07-19 01:51:42 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
LDCONFIG_DIRS= %%PREFIX%%/lib/jpilot/plugins
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
CONFIGURE_ENV+= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
CONFIGURE_ARGS+= --with-pilot-prefix=${LOCALBASE}
|
2003-12-19 00:37:11 +00:00
|
|
|
|
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
|
|
|
.if defined(WITH_GTK1)
|
|
|
|
USE_GNOME+= gtk12
|
|
|
|
.else
|
|
|
|
USE_GNOME+= gtk20
|
|
|
|
CONFIGURE_ARGS+= --enable-gtk2=yes
|
|
|
|
.endif
|
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
|
|
|
|
|
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
|
|
|
|
.for i in AUTHORS BUGS COPYING ChangeLog INSTALL README TODO UPGRADING
|
|
|
|
${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>
|