mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
3e4ed01146
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
58 lines
1.7 KiB
Makefile
58 lines
1.7 KiB
Makefile
# New ports collection makefile for: saferpay
|
|
# Date created: 06 September 2001
|
|
# Whom: mb@imp.ch
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= saferpay
|
|
PORTVERSION= 1.3.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://www.saferpay.com/download/
|
|
DISTFILES= ${PORTNAME}_${PORTVERSION}_linux-g++_src.tar.gz
|
|
|
|
MAINTAINER= mbr@FreeBSD.org
|
|
COMMENT= A command line tool for online payment
|
|
|
|
MAKEFILE= ${WRKSRC}/saferpay/Makefile
|
|
|
|
USE_GMAKE= yes
|
|
USE_OPENSSL= yes
|
|
USE_LDCONFIG= yes
|
|
WRKSRC= ${WRKDIR}
|
|
|
|
post-patch:
|
|
@${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' ${WRKDIR}/saferpay/Makefile
|
|
.if exists(/usr/include/openssl/engine.h)
|
|
CFLAGS+= -DHAVE_SSLENGINE_H
|
|
.endif
|
|
|
|
.if !defined(WITH_P5_API)
|
|
pre-build:
|
|
@${ECHO} "-----------------------------------------------------"
|
|
@${ECHO} You are building now the saferpay command line tool.
|
|
@${ECHO} If you like to install the perl API too, break this
|
|
@${ECHO} installation and start it again with WITH_P5_API=YES.
|
|
@${ECHO} "-----------------------------------------------------"
|
|
.else
|
|
pre-build:
|
|
PLIST= ${PKGDIR}/pkg-plist.p5
|
|
post-build:
|
|
@(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} xs)
|
|
post-install:
|
|
@(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} installxs)
|
|
${GZIP_CMD} ${LOCALBASE}/lib/perl5/${PERL_VER}/${PERL_ARCH}/../man/man3/soplex::saferpay::MessageObject.3
|
|
${GZIP_CMD} ${LOCALBASE}/lib/perl5/${PERL_VER}/${PERL_ARCH}/../man/man3/soplex::saferpay::MessageFactory.3
|
|
.endif
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} >= 700042
|
|
.if ${ARCH} == "amd64" || ${ARCH} == "sparc64"
|
|
BROKEN= Does not compile with GCC 4.2
|
|
.endif
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|