1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/textproc/domc/Makefile
2004-03-14 07:58:26 +00:00

36 lines
769 B
Makefile

# ex:ts=8
# New ports collection makefile for: domc
# Date created: Oct 8, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= domc
PORTVERSION= 0.6.0
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://www.ioplex.com/~miallen/domc/dl/
MAINTAINER= ports@FreeBSD.org
COMMENT= A light weight implementation of the DOM in ANSI C
LIB_DEPENDS= expat.5:${PORTSDIR}/textproc/expat2 \
mba:${PORTSDIR}/devel/libmba
SHLIB_MAJOR= 0
USE_REINPLACE= yes
CFLAGS= -I${LOCALBASE}/include -L${LOCALBASE}/lib
MAKE_ENV= SHLIB_MAJOR="${SHLIB_MAJOR}" INSTDIR=${PREFIX}
ALL_TARGET= # empty
INSTALLS_SHLIB= yes
PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"
post-patch:
@${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|g" \
-e "s|gcc|${CC}|g" ${WRKSRC}/Makefile
.include <bsd.port.mk>