freebsd-ports/security/opencdk/Makefile
Ade Lovett 3f651573ad Whoa there, boy, that's a mighty big commit y'all have there...
Begin autotools sanitization sequence by requiring ports to explicitly
specify which version of {libtool,autoconf,automake} they need, erasing
the concept of a "system default".

For ports-in-waiting:

	USE_LIBTOOL=YES		->	USE_LIBTOOL_VER=13
	USE_AUTOCONF=YES	->	USE_AUTOCONF_VER=213
	USE_AUTOMAKE=YES	->	USE_AUTOMAKE_VER=14

Ports attempting to use the old style system after June 1st 2004 will be
sorely disappointed.
2004-03-14 06:17:56 +00:00

45 lines
1.2 KiB
Makefile

# New ports collection makefile for: opencdk
# Date created: 15 Jan 2003
# Whom: Sergei Kolobov <sergei@kolobov.com>
#
# $FreeBSD$
#
PORTNAME= opencdk
PORTVERSION= 0.5.4
PORTEPOCH= 1
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_GNUPG} \
http://www.mirrors.wiretapped.net/security/network-security/gnutls/opencdk/ \
ftp://ftp.mirrors.wiretapped.net/security/network-security/gnutls/opencdk/ \
ftp://ftp.gnutls.org/pub/gnutls/opencdk/
MASTER_SITE_SUBDIR= alpha/gnutls/opencdk
MAINTAINER= sergei@FreeBSD.org
COMMENT= Open Crypto Development Kit
LIB_DEPENDS= gcrypt.10:${PORTSDIR}/security/libgcrypt-devel
USE_LIBTOOL_VER=13
INSTALLS_SHLIB= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-libgcrypt-prefix=${LOCALBASE}
USE_REINPLACE= yes
DOCS= AUTHORS NEWS README THANKS doc/opencdk-api.html
post-patch:
.for f in encrypt.c main.c misc.c
${REINPLACE_CMD} -e 's/<malloc.h>/<stdlib.h>/' ${WRKSRC}/src/${f}
.endfor
post-install:
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/tests/*.c ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/tests/*.gpg ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>