mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
New port for VeriSign's PayFlow SDK
The PayFlow Pro SDK is a development kit that allows you to perform credit card transactions through VeriSign's PayFlow Pro system. WWW: http://www.verisign.com/products/payflow/index.html Note that this is a pretty restricted port: The VeriSign PayFlow Pro SDK is only available to customers who have subscribed to this service. Please access your account at https://manager.verisign.com/ and retrieve the FreeBSD 5.x version of the SDK from the Downloads area. You will be required to agree to some terms and conditions. After downing the SDK, place ${PFP_BUNDLE} in ${DISTDIR}. PR: ports/89741 Submitted by: Mike Durian <durian@shadetreesoftware.com>
This commit is contained in:
parent
187c534c83
commit
3ba25b1904
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=150088
@ -49,6 +49,7 @@
|
||||
SUBDIR += p5-Finance-Quote
|
||||
SUBDIR += p5-Finance-QuoteHist
|
||||
SUBDIR += p5-Math-Financial
|
||||
SUBDIR += pfpro
|
||||
SUBDIR += qhacc
|
||||
SUBDIR += qtstalker
|
||||
SUBDIR += quantlib
|
||||
|
58
finance/pfpro/Makefile
Normal file
58
finance/pfpro/Makefile
Normal file
@ -0,0 +1,58 @@
|
||||
# New ports collection makefile for: pfpro
|
||||
# Date created: November 29, 2005
|
||||
# Whom: durian@shadetreesoftware.com
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= pfpro
|
||||
PORTVERSION= 3.0.8
|
||||
CATEGORIES= finance
|
||||
MASTER_SITES= #https://manager.verisign.com/
|
||||
DISTNAME= pfpro_freebsd
|
||||
|
||||
MAINTAINER= durian@shadetreesoftware.com
|
||||
COMMENT= SDK for VeriSign's PayFlow Pro
|
||||
|
||||
ONLY_FOR_ARCHS= i386
|
||||
RESTRICTED= "Only for VeriSign PayFlow Pro customers"
|
||||
NO_BUILD= yes
|
||||
INSTALLS_SHLIB= yes
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
|
||||
CERTDIR= ${PREFIX}/certs
|
||||
|
||||
FBSDDIR= ${WRKSRC}/verisign/payflowpro/freebsd
|
||||
|
||||
# XXX nees to be the same as DISTFILES
|
||||
PFP_BUNDLE= ${DISTNAME}${EXTRACT_SUFX}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
# Check for SDK bundle
|
||||
.if !exists(${DISTDIR}/${PFP_BUNDLE})
|
||||
ECHO_MSG=/usr/bin/printf
|
||||
IGNORE= :\n\
|
||||
The VeriSign PayFlow Pro SDK is only available to customers who have\n\
|
||||
subscribed to this service. Please access your account at\n\
|
||||
https://manager.verisign.com/ and retrieve the FreeBSD 5.x version\n\
|
||||
of the SDK from the Downloads area. You will be required to agree to\n\
|
||||
some terms and conditions. After downing the SDK, place ${PFP_BUNDLE}\n\
|
||||
in ${DISTDIR}.\n
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${SED} -e "s,%%PREFIX%%,${PREFIX},g" ${.CURDIR}/pkg-message \
|
||||
> ${PKGMESSAGE}
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${FBSDDIR}/bin/pfpro ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${FBSDDIR}/bin/pfpro-file ${PREFIX}/bin
|
||||
${INSTALL_DATA} ${FBSDDIR}/lib/pfpro.h ${PREFIX}/include
|
||||
${INSTALL_DATA} ${FBSDDIR}/lib/libpfpro.so ${PREFIX}/lib
|
||||
${MKDIR} ${CERTDIR}
|
||||
${INSTALL_DATA} ${FBSDDIR}/certs/f73e89fd.0 ${CERTDIR}
|
||||
|
||||
.include <bsd.port.post.mk>
|
3
finance/pfpro/distinfo
Normal file
3
finance/pfpro/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (pfpro_freebsd.tar.gz) = 752f72c5b7c257a5e952057d76173f09
|
||||
SHA256 (pfpro_freebsd.tar.gz) = 396943299424066d23ef1307d02a044b2d7b45758a16e1dca5f47c907caa5606
|
||||
SIZE (pfpro_freebsd.tar.gz) = 322410
|
4
finance/pfpro/pkg-descr
Normal file
4
finance/pfpro/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
The PayFlow Pro SDK is a development kit that allows you to perform
|
||||
credit card transactions through VeriSign's PayFlow Pro system.
|
||||
|
||||
WWW: http://www.verisign.com/products/payflow/index.html
|
3
finance/pfpro/pkg-message
Normal file
3
finance/pfpro/pkg-message
Normal file
@ -0,0 +1,3 @@
|
||||
You must set the environment variable PFPRO_CERT_PATH to point to
|
||||
the directory that contains the file f73e89fd.0. The default location
|
||||
is: %%PREFIX%%/certs
|
5
finance/pfpro/pkg-plist
Normal file
5
finance/pfpro/pkg-plist
Normal file
@ -0,0 +1,5 @@
|
||||
bin/pfpro
|
||||
bin/pfpro-file
|
||||
include/pfpro.h
|
||||
lib/libpfpro.so
|
||||
certs/f73e89fd.0
|
Loading…
Reference in New Issue
Block a user