aboutsummaryrefslogtreecommitdiffstats
path: root/palm/jpilot-picsnvideos/Makefile
blob: 170f98dbe0eb047ebaa90263bd9afaf852705365 (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
# Created by: Sascha Klauder <sklauder@trimind.de>
# $FreeBSD$

PORTNAME=   picsnvideos
PORTVERSION=    0.2
PORTREVISION=   3
CATEGORIES= palm comms graphics
MASTER_SITES=   SF/${PORTNAME}/source%20code/${PORTVERSION}
PKGNAMEPREFIX=  jpilot-

MAINTAINER= sklauder@trimind.de
COMMENT=    JPilot plugin to download photos and videos

RUN_DEPENDS=    jpilot:${PORTSDIR}/palm/jpilot
BUILD_DEPENDS=  jpilot:${PORTSDIR}/palm/jpilot
LIB_DEPENDS=    gdbm.4:${PORTSDIR}/databases/gdbm

GNU_CONFIGURE=  yes

LDFLAGS+=   -L${PREFIX}/lib
PORTDOCS=   README AUTHORS
PLIST_FILES=    lib/jpilot/plugins/libpicsnvideos.la    \
        lib/jpilot/plugins/libpicsnvideos.so

NO_STAGE=   yes
post-patch:
    @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
        ${WRKSRC}/configure

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
. for FILE in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
. endfor
.endif

.include <bsd.port.mk>