2001-09-07 00:39:15 +02:00
|
|
|
# New ports collection makefile for: saferpay
|
|
|
|
# Date created: 06 September 2001
|
|
|
|
# Whom: mb@imp.ch
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= saferpay
|
|
|
|
PORTVERSION= 1.2.2
|
2001-09-12 00:09:40 +02:00
|
|
|
PORTREVISION= 1
|
2001-09-07 00:39:15 +02:00
|
|
|
CATEGORIES= security
|
|
|
|
MASTER_SITES= http://www.saferpay.com/download/
|
|
|
|
DISTFILES= ${PORTNAME}_${PORTVERSION}_linux-g++_src.tar.gz
|
|
|
|
|
2001-12-24 14:48:27 +01:00
|
|
|
MAINTAINER= mbr@FreeBSD.org
|
2001-09-07 00:39:15 +02:00
|
|
|
|
|
|
|
MAKEFILE= ${WRKSRC}/saferpay/Makefile
|
|
|
|
|
2001-09-12 00:09:40 +02:00
|
|
|
USE_GMAKE= yes
|
2001-09-07 00:39:15 +02:00
|
|
|
USE_OPENSSL= yes
|
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
|
|
|
|
|
|
.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)
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|