2001-10-09 07:44:38 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: domc
|
|
|
|
# Date created: Oct 8, 2001
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= domc
|
2005-03-08 17:30:39 +01:00
|
|
|
PORTVERSION= 0.8.0
|
2002-09-24 08:46:04 +02:00
|
|
|
CATEGORIES= textproc
|
2003-05-22 20:11:54 +02:00
|
|
|
MASTER_SITES= http://www.ioplex.com/~miallen/domc/dl/
|
2001-10-09 07:44:38 +02:00
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:21:36 +01:00
|
|
|
COMMENT= A light weight implementation of the DOM in ANSI C
|
2001-10-09 07:44:38 +02:00
|
|
|
|
2004-03-14 08:58:26 +01:00
|
|
|
LIB_DEPENDS= expat.5:${PORTSDIR}/textproc/expat2 \
|
2005-03-08 17:30:39 +01:00
|
|
|
mba.1:${PORTSDIR}/devel/libmba
|
|
|
|
|
|
|
|
MAN3= DOM_CharacterData.3m DOM_Document.3m DOM_Element.3m \
|
|
|
|
DOM_Implementation.3m DOM_NamedNodeMap.3m DOM_Node.3m \
|
|
|
|
DOM_NodeList.3m DOM_Text.3m
|
|
|
|
MANCOMPRESSED= yes
|
2001-10-09 07:44:38 +02:00
|
|
|
|
|
|
|
SHLIB_MAJOR= 0
|
2001-11-23 18:36:44 +01:00
|
|
|
|
2005-03-08 17:30:39 +01:00
|
|
|
USE_GMAKE= yes
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
MAKE_ENV+= SHLIB_MAJOR="${SHLIB_MAJOR}" INSTDIR=${PREFIX} LDFLAGS="${LDFLAGS}"
|
2001-10-09 07:44:38 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2002-09-24 10:01:07 +02:00
|
|
|
|
2001-10-09 07:44:38 +02:00
|
|
|
PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"
|
|
|
|
|
2005-04-10 23:00:01 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2005-04-30 21:20:31 +02:00
|
|
|
.if ${OSVERSION} < 500039
|
|
|
|
IGNORE= requires wchar functions to use the produced library
|
|
|
|
.endif
|
|
|
|
|
2005-04-10 23:00:01 +02:00
|
|
|
.if ${OSVERSION} < 500000
|
|
|
|
USE_GCC= 3.4
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|