2001-10-09 05:44:38 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: domc
|
|
|
|
# Date created: Oct 8, 2001
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= domc
|
2002-09-24 08:01:07 +00:00
|
|
|
PORTVERSION= 0.6.0
|
2004-03-14 07:58:26 +00:00
|
|
|
PORTREVISION= 1
|
2002-09-24 06:46:04 +00:00
|
|
|
CATEGORIES= textproc
|
2003-05-22 18:11:54 +00:00
|
|
|
MASTER_SITES= http://www.ioplex.com/~miallen/domc/dl/
|
2001-10-09 05:44:38 +00:00
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 19:21:36 +00:00
|
|
|
COMMENT= A light weight implementation of the DOM in ANSI C
|
2001-10-09 05:44:38 +00:00
|
|
|
|
2004-03-14 07:58:26 +00:00
|
|
|
LIB_DEPENDS= expat.5:${PORTSDIR}/textproc/expat2 \
|
2002-09-24 08:01:07 +00:00
|
|
|
mba:${PORTSDIR}/devel/libmba
|
2001-10-09 05:44:38 +00:00
|
|
|
|
|
|
|
SHLIB_MAJOR= 0
|
2001-11-23 17:36:44 +00:00
|
|
|
|
2002-09-24 08:01:07 +00:00
|
|
|
USE_REINPLACE= yes
|
|
|
|
CFLAGS= -I${LOCALBASE}/include -L${LOCALBASE}/lib
|
|
|
|
MAKE_ENV= SHLIB_MAJOR="${SHLIB_MAJOR}" INSTDIR=${PREFIX}
|
|
|
|
ALL_TARGET= # empty
|
2001-10-09 05:44:38 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
2002-09-24 08:01:07 +00:00
|
|
|
|
2001-10-09 05:44:38 +00:00
|
|
|
PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"
|
|
|
|
|
2002-09-24 08:01:07 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|g" \
|
|
|
|
-e "s|gcc|${CC}|g" ${WRKSRC}/Makefile
|
2001-10-09 05:44:38 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|