2013-08-09 11:03:23 +02:00
|
|
|
# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
2001-10-09 07:44:38 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= domc
|
2005-03-08 17:30:39 +01:00
|
|
|
PORTVERSION= 0.8.0
|
2006-01-31 00:20:05 +01:00
|
|
|
PORTREVISION= 1
|
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
|
2013-08-09 11:03:23 +02:00
|
|
|
COMMENT= Lightweight implementation of the DOM in ANSI C
|
2001-10-09 07:44:38 +02:00
|
|
|
|
2013-08-09 11:03:23 +02:00
|
|
|
LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2 \
|
|
|
|
libmba.so:${PORTSDIR}/devel/libmba
|
2005-03-08 17:30:39 +01:00
|
|
|
|
2013-08-09 11:03:23 +02:00
|
|
|
USES= gmake
|
|
|
|
MAKE_ENV= SHLIB_MAJOR="${SHLIB_MAJOR}" INSTDIR=${PREFIX}
|
|
|
|
USE_LDCONFIG= yes
|
2001-11-23 18:36:44 +01:00
|
|
|
|
2013-09-05 00:22:37 +02:00
|
|
|
CFLAGS+= -I${LOCALBASE}/include -fPIC
|
2005-03-08 17:30:39 +01:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2013-08-09 11:03:23 +02:00
|
|
|
SHLIB_MAJOR= 0
|
2002-09-24 10:01:07 +02:00
|
|
|
|
2001-10-09 07:44:38 +02:00
|
|
|
PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"
|
|
|
|
|
2013-08-09 11:03:23 +02:00
|
|
|
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
|
|
|
|
|
2013-09-21 01:17:30 +02:00
|
|
|
NO_STAGE= yes
|
2009-08-17 05:44:37 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2013-03-28 16:51:16 +01:00
|
|
|
.if ${ARCH} == "sparc64"
|
2009-08-17 05:44:37 +02:00
|
|
|
BROKEN= Does not compile on sparc64-8: duplicate definition of strlen
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|