44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2010/07/23 14:01:05 laurent Exp $
|
|
|
|
SHARED_ONLY = Yes
|
|
|
|
COMMENT = hide awfull SSL API in a sane interface
|
|
V = 0.8
|
|
DISTNAME = assl-${V}
|
|
|
|
SHARED_LIBS = assl ${V}
|
|
|
|
CATEGORIES = security devel
|
|
|
|
HOMEPAGE = http://www.peereboom.us/assl/html/assl.html
|
|
|
|
MAINTAINER = Laurent Fanis <laurent@openbsd.org>
|
|
|
|
# ISC
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
MASTER_SITES = http://www.peereboom.us/assl/assl/snapshots/
|
|
EXTRACT_SUFX = .tgz
|
|
|
|
NO_REGRESS = Yes
|
|
DOC_DIR = ${PREFIX}/share/doc/assl/
|
|
EG_DIR = ${PREFIX}/share/examples/assl
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/libassl.so.${LIBassl_VERSION} ${PREFIX}/lib/
|
|
${INSTALL_MAN} ${WRKSRC}/assl.3 ${PREFIX}/man/man3
|
|
${INSTALL_DATA} ${WRKSRC}/assl.h ${PREFIX}/include/
|
|
${INSTALL_DATA_DIR} ${DOC_DIR}
|
|
${INSTALL_DATA} ${WRKSRC}/html/{assl.html,license.html,man.html,no_openssl.jpg,openssl.html} ${DOC_DIR}
|
|
${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>
|