aboutsummaryrefslogtreecommitdiffstats
path: root/palm/jpilot/Makefile
blob: 2d8bc268e4977077d94d3d06ef704942b66b1a17 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# New ports collection makefile for:   jpilot
# Date created:        23 August 1999
# Whom:                Alex Varju <varju@webct.com>
#
# $FreeBSD$
#
# "?=" and "+=" are for including this Makefile from japanese/jpilot

PORTNAME=   jpilot
PORTVERSION=    0.99.4
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 \
        intl.4:${PORTSDIR}/devel/gettext

USE_GNOMENG=    yes
USE_GNOME=  gtk12
USE_LIBTOOL=    yes
INSTALLS_SHLIB= yes
LDCONFIG_DIRS=  %%PREFIX%%/lib/jpilot/plugins
CONFIGURE_ARGS+=    --with-pilot-prefix=${PREFIX}
CFLAGS+=    -I${PREFIX}/include
CONFIGURE_ENV+= CPPFLAGS="-I${PREFIX}/include" LDFLAGS="-L${PREFIX}/lib"

MAN1=       jpilot-sync.1 jpilot.1 jpilot-dump.1

post-install:
    ${MKDIR} ${PREFIX}/man/man1
    ${CP} ${WRKSRC}/docs/jpilot-dump.1 ${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
.if !defined(NOPORTDOCS)
    ${MKDIR} ${PREFIX}/share/doc/jpilot
    ${CP} ${WRKSRC}/docs/manual.html ${PREFIX}/share/doc/jpilot
    ${CP} ${WRKSRC}/docs/plugin.html ${PREFIX}/share/doc/jpilot
    ${CP} ${WRKSRC}/AUTHORS ${PREFIX}/share/doc/jpilot
    ${CP} ${WRKSRC}/BUGS ${PREFIX}/share/doc/jpilot
    ${CP} ${WRKSRC}/COPYING ${PREFIX}/share/doc/jpilot
    ${CP} ${WRKSRC}/ChangeLog ${PREFIX}/share/doc/jpilot
    ${CP} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/jpilot
    ${CP} ${WRKSRC}/README ${PREFIX}/share/doc/jpilot
    ${CP} ${WRKSRC}/TODO ${PREFIX}/share/doc/jpilot
    ${CP} ${WRKSRC}/UPGRADING ${PREFIX}/share/doc/jpilot
    ${CP} ${WRKSRC}/docs/jpilot-address.png ${PREFIX}/share/doc/jpilot
    ${CP} ${WRKSRC}/docs/jpilot-datebook.png ${PREFIX}/share/doc/jpilot
    ${CP} ${WRKSRC}/docs/jpilot-expense.png ${PREFIX}/share/doc/jpilot
    ${CP} ${WRKSRC}/docs/jpilot-install.png ${PREFIX}/share/doc/jpilot
    ${CP} ${WRKSRC}/docs/jpilot-memo.png ${PREFIX}/share/doc/jpilot
    ${CP} ${WRKSRC}/docs/jpilot-prefs.png ${PREFIX}/share/doc/jpilot
    ${CP} ${WRKSRC}/docs/jpilot-print.png ${PREFIX}/share/doc/jpilot
    ${CP} ${WRKSRC}/docs/jpilot-search.png ${PREFIX}/share/doc/jpilot
    ${CP} ${WRKSRC}/docs/jpilot-todo.png ${PREFIX}/share/doc/jpilot
    ${CP} ${WRKSRC}/docs/jpilot-toplogo.jpg ${PREFIX}/share/doc/jpilot
    ${CP} ${WRKSRC}/icons/README ${PREFIX}/share/doc/jpilot/README.icons
.endif

.include <bsd.port.mk>