forked from Lainports/freebsd-ports
in bsd.autotools.mk essentially makes this a no-op given that all the old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in exactly the same way as USE_AUTOTOOLS itself. Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME team -- all GNOME 2.12.x ports use it. Preliminary documentation can be found at: http://people.FreeBSD.org/~ade/autotools.txt which is in the process of being SGMLized before introduction into the Porters Handbook. Light blue touch-paper. Run.
49 lines
1.3 KiB
Makefile
49 lines
1.3 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.5
|
|
PORTREVISION= 1
|
|
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= novel@FreeBSD.org
|
|
COMMENT= Open Crypto Development Kit
|
|
|
|
LIB_DEPENDS= gcrypt.13:${PORTSDIR}/security/libgcrypt
|
|
|
|
USE_GPG= yes
|
|
SIG_SUFFIX= .sig.asc
|
|
USE_BZIP2= yes
|
|
USE_AUTOTOOLS= libtool:15
|
|
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>
|