2014-05-22 11:33:05 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.30 2014/05/22 11:33:05 naddy Exp $
|
2010-07-23 14:01:05 +00:00
|
|
|
|
2011-03-12 22:55:05 +00:00
|
|
|
COMMENT= hide awful SSL API in a sane interface
|
2010-07-23 14:01:05 +00:00
|
|
|
|
2013-11-13 19:41:02 +00:00
|
|
|
DISTNAME= assl-1.5.0
|
2014-05-22 11:33:05 +00:00
|
|
|
REVISION= 0
|
2011-03-12 22:55:05 +00:00
|
|
|
EPOCH= 0
|
|
|
|
CATEGORIES= security devel
|
2013-11-13 19:41:02 +00:00
|
|
|
SHARED_LIBS= assl 6.2
|
2010-07-23 14:01:05 +00:00
|
|
|
|
2013-04-18 18:47:15 +00:00
|
|
|
HOMEPAGE= https://opensource.conformal.com/wiki/assl
|
|
|
|
MASTER_SITES= https://opensource.conformal.com/snapshots/assl/
|
2010-07-23 14:01:05 +00:00
|
|
|
|
2012-04-28 09:26:50 +00:00
|
|
|
MAINTAINER= David Hill <dhill@mindcry.org>
|
2010-07-23 14:01:05 +00:00
|
|
|
|
|
|
|
# ISC
|
2011-04-28 15:37:10 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
2010-07-23 14:01:05 +00:00
|
|
|
|
2011-03-12 22:55:05 +00:00
|
|
|
EG_DIR= ${PREFIX}/share/examples/assl
|
2010-07-23 14:01:05 +00:00
|
|
|
|
2010-12-30 09:01:09 +00:00
|
|
|
.if ${MACHINE_ARCH:Mmips64*}
|
|
|
|
EXTRA_CFLAGS= -D__BUILTIN_HACK
|
|
|
|
.endif
|
|
|
|
|
2010-10-07 23:55:33 +00:00
|
|
|
do-configure:
|
|
|
|
printf "major=${LIBassl_VERSION:R}\nminor=${LIBassl_VERSION:E}\n" \
|
|
|
|
> ${WRKSRC}/shlib_version
|
|
|
|
|
2010-09-28 21:14:56 +00:00
|
|
|
post-install:
|
2010-07-23 14:01:05 +00:00
|
|
|
${INSTALL_DATA_DIR} ${EG_DIR}
|
|
|
|
cd ${WRKSRC}/examples && \
|
|
|
|
find . -type d \
|
|
|
|
-exec ${INSTALL_DATA_DIR} ${EG_DIR}/{} \; && \
|
|
|
|
find . ! -type d \
|
|
|
|
-exec ${INSTALL_DATA} -m 644 {} ${EG_DIR}/{} \;
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|