aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/domc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/domc/Makefile')
-rw-r--r--textproc/domc/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/textproc/domc/Makefile b/textproc/domc/Makefile
new file mode 100644
index 00000000000..09759de6467
--- /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>