diff options
author | aaron <aaron@FreeBSD.org> | 2006-06-14 02:55:46 +0000 |
---|---|---|
committer | aaron <aaron@FreeBSD.org> | 2006-06-14 02:55:46 +0000 |
commit | 3e85b27e3d187343e4689438cae8306dfa499aa0 (patch) | |
tree | 3a67e77f80e01d5e8a6f9c029798857a0a91266d /finance | |
parent | 1b67a33abbfe22b6c36d0e4a0ed39d514362d1b4 (diff) | |
download | FreeBSD-ports-3e85b27e3d187343e4689438cae8306dfa499aa0.zip FreeBSD-ports-3e85b27e3d187343e4689438cae8306dfa499aa0.tar.gz |
- Fix for running on FreeBSD > 4.x
- Some minor Makefile/plist tweaks to satisfy portlint
PR: ports/98896
Submitted by: Alexandr Kovalenko <never@nevermind.kiev.ua>
Reviewed by: aaron
Approved by: tobez (implicit)
Diffstat (limited to 'finance')
-rw-r--r-- | finance/pfpro/Makefile | 14 | ||||
-rw-r--r-- | finance/pfpro/pkg-plist | 4 |
2 files changed, 10 insertions, 8 deletions
diff --git a/finance/pfpro/Makefile b/finance/pfpro/Makefile index 5dc0983..56f15e0 100644 --- a/finance/pfpro/Makefile +++ b/finance/pfpro/Makefile @@ -7,6 +7,7 @@ PORTNAME= pfpro PORTVERSION= 3.0.8 +PORTREVISION= 1 CATEGORIES= finance MASTER_SITES= #https://manager.verisign.com/ DISTNAME= pfpro_freebsd @@ -15,8 +16,7 @@ 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 +RESTRICTED= Only for VeriSign PayFlow Pro customers INSTALLS_SHLIB= yes NO_WRKSUBDIR= yes SUB_FILES= pkg-message @@ -25,8 +25,8 @@ PKGMESSAGE= ${WRKDIR}/pkg-message LATEST_LINK= verisign-pfpro CERTDIR= ${PREFIX}/certs - FBSDDIR= ${WRKSRC}/verisign/payflowpro/freebsd +PFCFLAGS= -DUSE_SSLEAY -fPIC -DFREEBSD_OS -DGENERIC_SEED -D_REENTRANT -pthread -DPTHREADS -I. -L. # XXX nees to be the same as DISTFILES PFP_BUNDLE= ${DISTNAME}${EXTRACT_SUFX} @@ -36,7 +36,7 @@ PFP_BUNDLE= ${DISTNAME}${EXTRACT_SUFX} # Check for SDK bundle .if !exists(${DISTDIR}/${PFP_BUNDLE}) ECHO_MSG=/usr/bin/printf -IGNORE= :\n\ +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\ @@ -45,9 +45,11 @@ some terms and conditions. After downing the SDK, place ${PFP_BUNDLE}\n\ in ${DISTDIR}.\n .endif +do-build: + (cd ${FBSDDIR}/lib && ${CC} ${PFCFLAGS} ${CFLAGS} -c ../bin/${PORTNAME}.c -o ${PORTNAME}.o && ${CC} ${PFCFLAGS} ${CFLAGS} -lpfpro ${PORTNAME}.o -o ${PORTNAME}) + do-install: - ${INSTALL_PROGRAM} ${FBSDDIR}/bin/pfpro ${PREFIX}/bin - ${INSTALL_PROGRAM} ${FBSDDIR}/bin/pfpro-file ${PREFIX}/bin + ${INSTALL_PROGRAM} ${FBSDDIR}/lib/pfpro ${PREFIX}/bin ${INSTALL_DATA} ${FBSDDIR}/lib/pfpro.h ${PREFIX}/include ${INSTALL_DATA} ${FBSDDIR}/lib/libpfpro.so ${PREFIX}/lib ${MKDIR} ${CERTDIR} diff --git a/finance/pfpro/pkg-plist b/finance/pfpro/pkg-plist index fad2d0c..1830f72 100644 --- a/finance/pfpro/pkg-plist +++ b/finance/pfpro/pkg-plist @@ -1,5 +1,5 @@ bin/pfpro -bin/pfpro-file +certs/f73e89fd.0 include/pfpro.h lib/libpfpro.so -certs/f73e89fd.0 +@dirrmtry certs |