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.
34 lines
810 B
Makefile
34 lines
810 B
Makefile
# New ports collection makefile for: mhash
|
|
# Date created: Mon Jun 28 17:59:13 PDT 1999
|
|
# Whom: nsayer@freebsd.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mhash
|
|
PORTVERSION= 0.9.2
|
|
CATEGORIES= security
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= roam@FreeBSD.org
|
|
COMMENT= An easy-to-use library for strong hashes such as MD5 and SHA1
|
|
|
|
INSTALLS_SHLIB= yes
|
|
USE_AUTOTOOLS= libtool:13
|
|
USE_PERL5_BUILD=yes
|
|
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
CONFIGURE_ARGS+= --with-LDFLAGS="${PTHREAD_LIBS}" --enable-static \
|
|
--with-gnu-ld
|
|
|
|
MAN3= mhash.3
|
|
|
|
DOCFILES= example.c md5-rfc1321.txt skid2-authentication
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
post-install:
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${DOCFILES:S,^,${WRKSRC}/doc/,} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|