54a0b86543
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.
39 lines
895 B
Makefile
39 lines
895 B
Makefile
# ex:ts=8
|
|
# New ports collection makefile for: libdbi
|
|
# Date created: Nov 4, 2001
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libdbi
|
|
PORTVERSION= 0.8.1
|
|
CATEGORIES= databases devel
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= seanc@FreeBSD.org
|
|
COMMENT= Database Independent Abstraction Layer for C
|
|
|
|
USE_REINPLACE= yes
|
|
USE_AUTOTOOLS= libtool:15
|
|
INSTALLS_SHLIB= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s|-O20|${CFLAGS}|g" -e "s|-std=gnu99||g" \
|
|
${WRKSRC}/configure
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.pdf ${DOCSDIR}
|
|
@${MKDIR} ${DOCSDIR}/driver-guide
|
|
${INSTALL_DATA} ${WRKSRC}/doc/driver-guide/*.html \
|
|
${DOCSDIR}/driver-guide
|
|
@${MKDIR} ${DOCSDIR}/programmers-guide
|
|
${INSTALL_DATA} ${WRKSRC}/doc/programmers-guide/*.html \
|
|
${DOCSDIR}/programmers-guide
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|