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.
41 lines
846 B
Makefile
41 lines
846 B
Makefile
# New ports collection makefile for: libdnet
|
|
# Date created: 15 April 2002
|
|
# Whom: Dominic Marks <dominic.marks@btinternet.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libdnet
|
|
PORTVERSION= 1.10
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= onatan@gmail.com
|
|
COMMENT= A simple interface to low level networking routines
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
INSTALLS_SHLIB= yes
|
|
USE_AUTOTOOLS= libtool:15
|
|
|
|
.if defined(WITH_PYTHON)
|
|
USE_PYTHON= yes
|
|
CONFIGURE_ARGS+= --with-python
|
|
PLIST_FILES+= lib/${PYTHON_VERSION}/site-packages/dnet.so
|
|
.else
|
|
CONFIGURE_ARGS+= --without-python
|
|
.endif
|
|
|
|
MAN3= dnet.3
|
|
MAN8= dnet.8
|
|
|
|
pre-everything::
|
|
.if !defined(WITH_PYTHON)
|
|
@${ECHO_MSG} "===>"
|
|
@${ECHO_MSG} "===> You can add python support using WITH_PYTHON,"
|
|
@${ECHO_MSG} "===>"
|
|
@sleep 2
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|