Tweak palm/jpilot-picsnvideos version 0.2_3
[dports.git] / palm / jpilot-picsnvideos / Makefile
1 # New ports collection makefile for:   jpilot-picsnvideos
2 # Date created:        18 Feb 2010
3 # Whom:                Sascha Klauder <sklauder@trimind.de>
4 #
5 # $FreeBSD: palm/jpilot-picsnvideos/Makefile 324744 2013-08-14 22:35:50Z ak $
6 #
7
8 PORTNAME=       picsnvideos
9 PORTVERSION=    0.2
10 PORTREVISION=   3
11 CATEGORIES=     palm comms graphics
12 MASTER_SITES=   SF/${PORTNAME}/source%20code/${PORTVERSION}
13 PKGNAMEPREFIX=  jpilot-
14
15 MAINTAINER=     sklauder@trimind.de
16 COMMENT=        JPilot plugin to download photos and videos
17
18 RUN_DEPENDS=    jpilot:${PORTSDIR}/palm/jpilot
19 BUILD_DEPENDS=  jpilot:${PORTSDIR}/palm/jpilot
20 LIB_DEPENDS=    gdbm.4:${PORTSDIR}/databases/gdbm
21
22 GNU_CONFIGURE=  yes
23
24 LDFLAGS+=       -L${PREFIX}/lib
25 PORTDOCS=       README AUTHORS
26 PLIST_FILES=    lib/jpilot/plugins/libpicsnvideos.la    \
27                 lib/jpilot/plugins/libpicsnvideos.so
28
29 post-patch:
30         @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
31                 ${WRKSRC}/configure
32
33 post-install:
34 .if !defined(NOPORTDOCS)
35         ${MKDIR} ${DOCSDIR}
36 . for FILE in ${PORTDOCS}
37         ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
38 . endfor
39 .endif
40
41 .include <bsd.port.mk>