- 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)
This commit is contained in:
parent
b9410c5b8d
commit
3fb7a9de17
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=165358
2 changed files with 10 additions and 8 deletions
|
@ -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}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
bin/pfpro
|
||||
bin/pfpro-file
|
||||
certs/f73e89fd.0
|
||||
include/pfpro.h
|
||||
lib/libpfpro.so
|
||||
certs/f73e89fd.0
|
||||
@dirrmtry certs
|
||||
|
|
Loading…
Reference in a new issue