mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
4eaa19b6e8
- Replace LDFLAGS with LIBS - Avoid including bsd.port.options.mk
42 lines
949 B
Makefile
42 lines
949 B
Makefile
# Created by: Sascha Klauder <sklauder@trimind.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= picsnvideos
|
|
PORTVERSION= 0.2
|
|
PORTREVISION= 4
|
|
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
|
|
|
|
LICENSE= GPLv2
|
|
|
|
RUN_DEPENDS= jpilot:${PORTSDIR}/palm/jpilot
|
|
BUILD_DEPENDS= jpilot:${PORTSDIR}/palm/jpilot
|
|
LIB_DEPENDS= libgdbm.so:${PORTSDIR}/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>
|