2012-09-01 08:02:26 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.24 2012/09/01 12:02:27 naddy Exp $
|
2010-07-23 10:01:05 -04:00
|
|
|
|
2011-03-12 17:55:05 -05:00
|
|
|
COMMENT= hide awful SSL API in a sane interface
|
2010-07-23 10:01:05 -04:00
|
|
|
|
2012-08-07 03:34:23 -04:00
|
|
|
DISTNAME= assl-1.1.0
|
2012-09-01 08:02:26 -04:00
|
|
|
REVISION= 0
|
2011-03-12 17:55:05 -05:00
|
|
|
EPOCH= 0
|
|
|
|
CATEGORIES= security devel
|
2012-08-07 03:34:23 -04:00
|
|
|
SHARED_LIBS= assl 5.0
|
2010-07-23 10:01:05 -04:00
|
|
|
|
2011-03-12 17:55:05 -05:00
|
|
|
HOMEPAGE= http://opensource.conformal.com/wiki/Assl
|
|
|
|
MASTER_SITES= http://opensource.conformal.com/snapshots/assl/
|
2010-07-23 10:01:05 -04:00
|
|
|
|
2012-04-28 05:26:50 -04:00
|
|
|
MAINTAINER= David Hill <dhill@mindcry.org>
|
2010-07-23 10:01:05 -04:00
|
|
|
|
|
|
|
# ISC
|
2011-04-28 11:37:10 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2010-07-23 10:01:05 -04:00
|
|
|
|
2011-03-12 17:55:05 -05:00
|
|
|
EG_DIR= ${PREFIX}/share/examples/assl
|
2010-07-23 10:01:05 -04:00
|
|
|
|
2010-12-30 04:01:09 -05:00
|
|
|
.if ${MACHINE_ARCH:Mmips64*}
|
|
|
|
EXTRA_CFLAGS= -D__BUILTIN_HACK
|
|
|
|
.endif
|
|
|
|
|
2010-10-07 19:55:33 -04:00
|
|
|
do-configure:
|
|
|
|
printf "major=${LIBassl_VERSION:R}\nminor=${LIBassl_VERSION:E}\n" \
|
|
|
|
> ${WRKSRC}/shlib_version
|
|
|
|
|
2010-09-28 17:14:56 -04:00
|
|
|
post-install:
|
2010-07-23 10:01:05 -04: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>
|