2001-02-10 00:19:44 +01:00
|
|
|
# New ports collection makefile for: libxslt
|
|
|
|
# Date created: 9th February 2001
|
|
|
|
# Whom: Ade Lovett <ade@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libxslt
|
2002-02-26 20:02:58 +01:00
|
|
|
PORTVERSION= 1.0.12
|
2001-02-10 00:19:44 +01:00
|
|
|
CATEGORIES= textproc gnome
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
2001-07-11 09:43:32 +02:00
|
|
|
MASTER_SITE_SUBDIR= stable/sources/libxslt
|
2001-02-10 00:19:44 +01:00
|
|
|
|
2001-05-11 18:36:50 +02:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2001-02-10 00:19:44 +01:00
|
|
|
|
|
|
|
LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2
|
|
|
|
|
|
|
|
USE_GMAKE= yes
|
2001-08-27 12:33:03 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2001-02-10 00:19:44 +01:00
|
|
|
INSTALLS_SHLIB= yes
|
2001-07-31 17:21:22 +02:00
|
|
|
CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc
|
2001-03-12 17:45:41 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include"
|
2001-02-10 00:19:44 +01:00
|
|
|
|
2001-09-19 12:21:59 +02:00
|
|
|
MAN4= libexslt.4 libxslt.4
|
2001-10-16 15:33:19 +02:00
|
|
|
MAN1= xsltproc.1
|
2001-09-19 12:21:59 +02:00
|
|
|
|
2002-02-26 20:02:58 +01:00
|
|
|
.if !defined(WITHOUT_PYTHON)
|
|
|
|
USE_PYTHON= yes
|
|
|
|
PLIST_SUB+= PYTHON:=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-python
|
|
|
|
PLIST_SUB+= PYTHON:="@comment "
|
|
|
|
PKGNAMESUFFIX= -nopython
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_PYTHON)
|
|
|
|
pre-extract:
|
|
|
|
@${ECHO_MSG} ""
|
|
|
|
@${ECHO_MSG} "If you don't want Python support, add WITHOUT_PYTHON=yes to command line"
|
|
|
|
@${ECHO_MSG} ""
|
|
|
|
.endif
|
|
|
|
|
2001-02-10 00:19:44 +01:00
|
|
|
.include <bsd.port.mk>
|