blob: 26df2daa4194a91bc06e3838e87c25eababdf000 (
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
|
# Created by: Sascha Klauder <sklauder@trimind.de>
# $FreeBSD$
PORTNAME= picsnvideos
PORTVERSION= 0.2
PORTREVISION= 6
CATEGORIES= palm comms graphics
MASTER_SITES= SF/${PORTNAME}/source%20code/${PORTVERSION}
PKGNAMEPREFIX= jpilot-
MAINTAINER= ports@FreeBSD.org
COMMENT= JPilot plugin to download photos and videos
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= jpilot:palm/jpilot
BUILD_DEPENDS= jpilot:palm/jpilot
LIB_DEPENDS= libgdbm.so:databases/gdbm
GNU_CONFIGURE= yes
LIBS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
USES= libtool
PORTDOCS= README AUTHORS
PLIST_FILES= lib/jpilot/plugins/libpicsnvideos.so
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
-e '/LIBS=/s/$$libs/$$LIBS/' \
${WRKSRC}/configure
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for FILE in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>
|