mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
fc332e9143
PR: 59125 Submitted by: KATO Tsuguru <tkato@prontomail.com>
39 lines
1010 B
Makefile
39 lines
1010 B
Makefile
# New ports collection makefile for: libofx
|
|
# Date created: February 16 2003
|
|
# Whom: Glenn Johnson <glennpj@charter.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libofx
|
|
PORTVERSION= 0.6.5
|
|
CATEGORIES= finance
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= OpenSource implementation of the OFX (Open Financial eXchange)
|
|
|
|
LIB_DEPENDS= osp.3:${PORTSDIR}/textproc/opensp
|
|
|
|
USE_LIBTOOL= yes
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
INSTALLS_SHLIB= yes
|
|
|
|
CPPFLAGS= -I${LOCALBASE}/include
|
|
LDFLAGS= -L${LOCALBASE}/lib -lintl
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for file in AUTHORS ChangeLog INSTALL NEWS README totest.txt
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
.endfor
|
|
${TAR} -C ${WRKSRC}/doc -cf - html | \
|
|
${TAR} -C ${DOCSDIR} --unlink -xf -
|
|
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|