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.
37 lines
833 B
Makefile
37 lines
833 B
Makefile
# New ports collection makefile for: poslib
|
|
# Date created: 2003-08-03
|
|
# Whom: Sergei Kolobov <sergei@kolobov.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= poslib
|
|
PORTVERSION= 1.0.6
|
|
CATEGORIES= devel dns
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= posadis
|
|
|
|
MAINTAINER= sergei@FreeBSD.org
|
|
COMMENT= Posadis C++ DNS library
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= LIBS="${PTHREAD_LIBS}"
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
USE_AUTOTOOLS= libtool:15
|
|
INSTALLS_SHLIB= yes
|
|
|
|
PLIST_SUB= VERSION="${PORTVERSION}"
|
|
|
|
DOCS= AUTHORS ChangeLog NEWS README TODO
|
|
EXAMPLES= examples/*.cpp
|
|
|
|
post-install:
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|