2006-03-17 16:54:09 +01:00
|
|
|
# New ports collection Makefile for: matrixssl
|
|
|
|
# Date created: 2006-03-17
|
|
|
|
# Whom: arved
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= matrixssl
|
2010-02-01 00:12:04 +01:00
|
|
|
PORTVERSION= 1.8.8
|
2006-03-17 16:54:09 +01:00
|
|
|
CATEGORIES= security
|
2010-02-01 00:12:04 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
|
2006-03-17 16:54:09 +01:00
|
|
|
MASTER_SITE_SUBDIR= distfiles
|
2010-02-01 00:12:04 +01:00
|
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
|
2006-03-17 16:54:09 +01:00
|
|
|
|
2010-02-01 00:12:04 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2006-03-17 16:54:09 +01:00
|
|
|
COMMENT= Small alternative SSL implementation
|
|
|
|
|
|
|
|
USE_GMAKE= yes
|
2010-02-01 00:12:04 +01:00
|
|
|
WRKSRC= ${WRKDIR}/matrixssl-1-8-8-open/src
|
- 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)
2008-04-19 19:56:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
2006-03-17 16:54:09 +01:00
|
|
|
|
2010-02-01 00:12:04 +01:00
|
|
|
post-extract:
|
|
|
|
cd ${WRKDIR} && ${TAR} -xvf matrixssl-1-8-8-open.tgz
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e "s,^CC,#CC,;s,-O3,${CFLAGS}," ${WRKSRC}/Makefile
|
|
|
|
|
2006-03-17 16:54:09 +01:00
|
|
|
do-install:
|
|
|
|
${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}
|
2007-04-17 18:32:27 +02:00
|
|
|
-cd ${EXAMPLESDIR}; ${RM} *.vcproj *.sln *.orig
|
2006-03-17 16:54:09 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|