aboutsummaryrefslogtreecommitdiffstats
path: root/finance/pfpro
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2005-12-01 05:43:04 +0800
committeredwin <edwin@FreeBSD.org>2005-12-01 05:43:04 +0800
commitc90ef32e47c67a4f582996815ed0c53565a473e1 (patch)
treeee7a546a0bd7191e032430b725804fe177cb39a9 /finance/pfpro
parent69138b1e0da05a17780d4b166457ed47d7aee907 (diff)
downloadfreebsd-ports-gnome-c90ef32e47c67a4f582996815ed0c53565a473e1.tar.gz
freebsd-ports-gnome-c90ef32e47c67a4f582996815ed0c53565a473e1.tar.zst
freebsd-ports-gnome-c90ef32e47c67a4f582996815ed0c53565a473e1.zip
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>
Diffstat (limited to 'finance/pfpro')
-rw-r--r--finance/pfpro/Makefile58
-rw-r--r--finance/pfpro/distinfo3
-rw-r--r--finance/pfpro/pkg-descr4
-rw-r--r--finance/pfpro/pkg-message3
-rw-r--r--finance/pfpro/pkg-plist5
5 files changed, 73 insertions, 0 deletions
diff --git a/finance/pfpro/Makefile b/finance/pfpro/Makefile
new file mode 100644
index 000000000000..79a5ccc5d230
--- /dev/null
+++ b/finance/pfpro/Makefile
@@ -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>
diff --git a/finance/pfpro/distinfo b/finance/pfpro/distinfo
new file mode 100644
index 000000000000..742c9333b981
--- /dev/null
+++ b/finance/pfpro/distinfo
@@ -0,0 +1,3 @@
+MD5 (pfpro_freebsd.tar.gz) = 752f72c5b7c257a5e952057d76173f09
+SHA256 (pfpro_freebsd.tar.gz) = 396943299424066d23ef1307d02a044b2d7b45758a16e1dca5f47c907caa5606
+SIZE (pfpro_freebsd.tar.gz) = 322410
diff --git a/finance/pfpro/pkg-descr b/finance/pfpro/pkg-descr
new file mode 100644
index 000000000000..a58dec2989eb
--- /dev/null
+++ b/finance/pfpro/pkg-descr
@@ -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
diff --git a/finance/pfpro/pkg-message b/finance/pfpro/pkg-message
new file mode 100644
index 000000000000..38b6b1fb18dd
--- /dev/null
+++ b/finance/pfpro/pkg-message
@@ -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
diff --git a/finance/pfpro/pkg-plist b/finance/pfpro/pkg-plist
new file mode 100644
index 000000000000..fad2d0c045bf
--- /dev/null
+++ b/finance/pfpro/pkg-plist
@@ -0,0 +1,5 @@
+bin/pfpro
+bin/pfpro-file
+include/pfpro.h
+lib/libpfpro.so
+certs/f73e89fd.0