head	1.6;
access;
symbols
	RELEASE_8_3_0:1.4
	RELEASE_9_0_0:1.4
	RELEASE_7_4_0:1.4
	RELEASE_8_2_0:1.4
	RELEASE_6_EOL:1.4
	RELEASE_8_1_0:1.4
	RELEASE_7_3_0:1.4
	RELEASE_8_0_0:1.3
	RELEASE_7_2_0:1.3
	RELEASE_7_1_0:1.3
	RELEASE_6_4_0:1.3
	RELEASE_5_EOL:1.3
	RELEASE_7_0_0:1.2
	RELEASE_6_3_0:1.2
	PRE_XORG_7:1.2
	RELEASE_4_EOL:1.1
	RELEASE_6_2_0:1.1;
locks; strict;
comment	@# @;


1.6
date	2012.12.01.00.17.05;	author svnexp;	state Exp;
branches;
next	1.5;

1.5
date	2012.11.17.06.01.08;	author svnexp;	state Exp;
branches;
next	1.4;

1.4
date	2010.01.31.23.12.03;	author arved;	state Exp;
branches;
next	1.3;

1.3
date	2008.04.19.17.53.26;	author miwi;	state Exp;
branches;
next	1.2;

1.2
date	2007.04.17.16.32.27;	author arved;	state Exp;
branches;
next	1.1;

1.1
date	2006.03.17.15.54.09;	author arved;	state Exp;
branches;
next	;


desc
@@


1.6
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/308035
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r308035 | sperber | 2012-11-30 23:50:42 +0000 (Fri, 30 Nov 2012) | 10 lines
## SVN ##
## SVN ## - Update to version 3.3
## SVN ## - Update MASTER_SITES
## SVN ## - Add LICENSE
## SVN ## - Convert to optionsng
## SVN ##
## SVN ## PR:           ports/170168
## SVN ## Submitted by: KATO Tsuguru <tkato432 _at_ yahoo.com>
## SVN ## Approved by:  beat (mentor)
## SVN ## Feature safe: yes
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@# New ports collection Makefile for:	matrixssl
# Date created:				2006-03-17
# Whom:					arved
#
# $FreeBSD: head/security/matrixssl/Makefile 308035 2012-11-30 23:50:42Z sperber $

PORTNAME=	matrixssl
PORTVERSION=	3.3
CATEGORIES=	security
MASTER_SITES=	CPAN
MASTER_SITE_SUBDIR=	CPAN:CDRAKE
DISTNAME=	Crypt-MatrixSSL3-3.3.0.1
EXTRACT_SUFX=	.tgz

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	Small alternative SSL implementation

LICENSE=	GPLv2 # (or later)

OPTIONS_DEFINE=	DOCS EXAMPLES

WRKSRC=		${WRKDIR}/${DISTNAME}/${PORTNAME}-${PORTVERSION:S/./-/g}-open

USE_GMAKE=	yes
MAKE_ARGS=	CC="${CC}" DFLAGS="${CFLAGS}" STRIP="${TEST}"
USE_LDCONFIG=	yes
MAKE_JOBS_SAFE=	yes

.include <bsd.port.pre.mk>

.if ${ARCH} == "amd64" || ${ARCH} == "ia64" || ${ARCH} == "sparc64"
CFLAGS+=	-DPSTM_64BIT
.endif

post-extract:
	@@cd ${WRKDIR}/${DISTNAME} \
		&& ${TAR} -xf ${PORTNAME}-${PORTVERSION:S/./-/g}-open.tgz

pre-patch:
	@@cd ${WRKDIR}/${DISTNAME} \
		&& ${CAT} ${PORTNAME}-${PORTVERSION:S/./-/g}-open.patch | \
		${PATCH} -d ${WRKSRC} -p1 --quiet

post-patch:
	@@${REINPLACE_CMD} -e \
		's|^LDFLAGS|#LDFLAGS|' ${WRKSRC}/Makefile

do-install:
	${INSTALL_DATA} ${WRKSRC}/libmatrixssl.* ${PREFIX}/lib
	@@${MKDIR} ${PREFIX}/include/matrixssl
	${INSTALL_DATA} ${WRKSRC}/matrixssl/*.h ${PREFIX}/include/matrixssl
	@@${MKDIR} ${PREFIX}/include/matrixssl/core
	${INSTALL_DATA} ${WRKSRC}/core/*.h ${PREFIX}/include/matrixssl/core
	@@${MKDIR} ${PREFIX}/include/matrixssl/crypto
	${INSTALL_DATA} ${WRKSRC}/crypto/*.h ${PREFIX}/include/matrixssl/crypto
.if ${PORT_OPTIONS:MDOCS}
	@@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
	@@${MKDIR} ${EXAMPLESDIR}/apps
	${INSTALL_DATA} ${WRKSRC}/apps/Makefile ${EXAMPLESDIR}/apps
	${INSTALL_DATA} ${WRKSRC}/apps/*.c ${EXAMPLESDIR}/apps
	${INSTALL_DATA} ${WRKSRC}/apps/*.h ${EXAMPLESDIR}/apps
	@@${MKDIR} ${EXAMPLESDIR}/sampleCerts
	${INSTALL_DATA} ${WRKSRC}/sampleCerts/*.h ${EXAMPLESDIR}/sampleCerts
	${INSTALL_DATA} ${WRKSRC}/sampleCerts/*.pem ${EXAMPLESDIR}/sampleCerts
.endif

.include <bsd.port.post.mk>
@


1.5
log
@Switch exporter over
@
text
@d5 1
a5 1
# $FreeBSD: head/security/matrixssl/Makefile 300897 2012-07-14 14:29:18Z beat $
d8 1
a8 1
PORTVERSION=	1.8.8
d10 4
a13 3
MASTER_SITES=	${MASTER_SITE_DEBIAN_POOL}
MASTER_SITE_SUBDIR=	distfiles
DISTNAME=	${PORTNAME}_${PORTVERSION}.orig
d18 6
d25 1
a25 1
WRKSRC=		${WRKDIR}/matrixssl-1-8-8-open/src
d27 7
d36 7
a42 1
	cd ${WRKDIR} && ${TAR} -xvf matrixssl-1-8-8-open.tgz
d45 2
a46 1
	${REINPLACE_CMD} -e "s,^CC,#CC,;s,-O3,${CFLAGS}," ${WRKSRC}/Makefile
d49 19
a67 8
	${INSTALL_DATA} ${WRKSRC}/libmatrixssl* ${PREFIX}/lib
	${INSTALL_DATA} ${WRKSRC}/../*.h ${PREFIX}/include
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${CP} ${WRKSRC}/../doc/* ${DOCSDIR}
	${MKDIR} ${EXAMPLESDIR}
	${CP} ${WRKSRC}/../examples/* ${EXAMPLESDIR}
	-cd ${EXAMPLESDIR}; ${RM} *.vcproj *.sln *.orig
d70 1
a70 1
.include <bsd.port.mk>
@


1.4
log
@Update to 1.8.8
Switch Mastersite from Gentoo to Debian
Drop Maintainership
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.3
log
@- Remove unneeded dependency from gtk12/gtk20 [1]
- 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)
@
text
@d8 1
a8 1
PORTVERSION=	1.8.3
d10 1
a10 1
MASTER_SITES=	${MASTER_SITE_GENTOO}
d12 1
a12 1
DISTNAME=	${PORTNAME}-${PORTVERSION:S,.,-,g}-open
d14 1
a14 1
MAINTAINER=	arved@@FreeBSD.org
d18 1
a18 1
WRKSRC=		${WRKDIR}/${DISTNAME}/src
d21 6
@


1.2
log
@Update to 1.8.3
@
text
@d19 1
a19 1
INSTALLS_SHLIB=	yes
@


1.1
log
@Add matrixssl, a small GPL'd SSL implementation.
@
text
@d8 1
a8 1
PORTVERSION=	1.7.3
d18 1
a18 1
WRKSRC=		${WRKDIR}/matrixssl/src
d29 1
a29 1
	cd ${EXAMPLESDIR}; ${RM} *.vcproj *.sln *.orig
@

