diff options
author | ijliao <ijliao@FreeBSD.org> | 2001-10-09 13:44:38 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2001-10-09 13:44:38 +0800 |
commit | 06ad7f94d93770ce2fff61a64977a8cee3175962 (patch) | |
tree | 6c1ccfad498a1326fc64678df4490ba7006c5456 /textproc/domc/Makefile | |
parent | b2d17a42cdd9a86f94fcd1642d586ff4dca6f06e (diff) | |
download | freebsd-ports-gnome-06ad7f94d93770ce2fff61a64977a8cee3175962.tar.gz freebsd-ports-gnome-06ad7f94d93770ce2fff61a64977a8cee3175962.tar.zst freebsd-ports-gnome-06ad7f94d93770ce2fff61a64977a8cee3175962.zip |
add domc
DOMC is a light weight implementation of the DOM in ANSI C
Diffstat (limited to 'textproc/domc/Makefile')
-rw-r--r-- | textproc/domc/Makefile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/textproc/domc/Makefile b/textproc/domc/Makefile new file mode 100644 index 000000000000..09759de64675 --- /dev/null +++ b/textproc/domc/Makefile @@ -0,0 +1,34 @@ +# ex:ts=8 +# New ports collection makefile for: domc +# Date created: Oct 8, 2001 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= domc +PORTVERSION= 0.5.0 +CATEGORIES= devel +MASTER_SITES= http://auditorymodels.org/domc/src/ +EXTRACT_SUFX= .tgz + +MAINTAINER= ports@FreeBSD.org + +LIB_DEPENDS= expat.1:${PORTSDIR}/textproc/expat + +CFLAGS+= -I${LOCALBASE}/include/xml +SHLIB_MAJOR= 0 +INSTALLS_SHLIB= yes +PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}" + +post-patch: + @${PERL} -pi -e "s,%%PREFIX%%,${PREFIX},g ; \ + s,%%CFLAGS%%,${CFLAGS},g" ${WRKSRC}/Makefile + +do-install: + ${INSTALL_DATA} ${WRKSRC}/include/dom.h ${PREFIX}/include + ${CAT} ${WRKSRC}/include/stack.h >> ${PREFIX}/include/dom.h + ${INSTALL_DATA} ${WRKSRC}/libdomc.so.0.5.0 ${PREFIX}/lib/libdomc.so.${SHLIB_MAJOR} + ${LN} -sf ${PREFIX}/lib/libdomc.so.${SHLIB_MAJOR} ${PREFIX}/lib/libdomc.so + +.include <bsd.port.mk> |