diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/domc/Makefile | 8 | ||||
-rw-r--r-- | devel/domc/distinfo | 2 | ||||
-rw-r--r-- | devel/domc/files/patch-Makefile | 31 | ||||
-rw-r--r-- | devel/domc/files/patch-lib::expatls.c | 10 | ||||
-rw-r--r-- | devel/domc/files/patch-src::expatls.c | 10 | ||||
-rw-r--r-- | devel/domc/pkg-plist | 3 |
6 files changed, 36 insertions, 28 deletions
diff --git a/devel/domc/Makefile b/devel/domc/Makefile index 93c7584ea3d..3e50f4749f3 100644 --- a/devel/domc/Makefile +++ b/devel/domc/Makefile @@ -7,7 +7,7 @@ # PORTNAME= domc -PORTVERSION= 0.5.1 +PORTVERSION= 0.5.8 CATEGORIES= devel MASTER_SITES= http://auditorymodels.org/domc/src/ EXTRACT_SUFX= .tgz @@ -22,11 +22,7 @@ MAKE_ENV= SHLIB_MAJOR="${SHLIB_MAJOR}" INSTALLS_SHLIB= yes PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}" -do-install: - ${INSTALL_DATA} ${WRKSRC}/include/dom.h ${PREFIX}/include - ${CAT} ${WRKSRC}/include/stack.h >> ${PREFIX}/include/dom.h - ${INSTALL_DATA} ${WRKSRC}/libdomc.so.${SHLIB_MAJOR} ${PREFIX}/lib - ${LN} -sf libdomc.so.${SHLIB_MAJOR} ${PREFIX}/lib/libdomc.so +post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/*.* ${DOCSDIR} diff --git a/devel/domc/distinfo b/devel/domc/distinfo index 0e6aba5ed56..0f6b80a045e 100644 --- a/devel/domc/distinfo +++ b/devel/domc/distinfo @@ -1 +1 @@ -MD5 (domc-0.5.1.tgz) = 73f1dc3cd9df88446804a218b750f3e9 +MD5 (domc-0.5.8.tgz) = 318bf898a680af5b32399b78af31de06 diff --git a/devel/domc/files/patch-Makefile b/devel/domc/files/patch-Makefile index fd1c21a38ab..f6ad1c42248 100644 --- a/devel/domc/files/patch-Makefile +++ b/devel/domc/files/patch-Makefile @@ -1,11 +1,11 @@ ---- Makefile.orig Sat Oct 27 13:40:45 2001 -+++ Makefile Thu Nov 22 03:34:09 2001 -@@ -1,13 +1,13 @@ +--- Makefile.orig Thu Dec 20 19:16:25 2001 ++++ Makefile Sun Dec 30 11:43:57 2001 +@@ -1,26 +1,26 @@ -INSTDIR = /usr/local +INSTDIR = ${PREFIX} - OBJS = lib/expatls.o lib/events.o lib/node.o lib/dom.o lib/stack.o + OBJS = src/expatls.o src/events.o src/node.o src/dom.o src/msgno.o src/stack.o LIBNAME = domc --SONAME = lib$(LIBNAME).so.0.5.0 +-SONAME = lib$(LIBNAME).so.0.5.8 -SOVERSION = lib$(LIBNAME).so.0.5 +SONAME = lib$(LIBNAME).so.${SHLIB_MAJOR} +SOVERSION = lib$(LIBNAME).so.${SHLIB_MAJOR} @@ -18,10 +18,21 @@ example: $(MAKE) -C examples -@@ -25,5 +25,5 @@ - @echo "Expat was not removed however" - .c.o: -- gcc -Wall -Iinclude -Llib -fPIC -DPIC -c -o $*.o $< -+ ${CC} ${CFLAGS} -I${LOCALBASE}/include/xml -Iinclude -Llib -fPIC -DPIC -c -o $*.o $< + install: +- cp src/dom.h $(INSTDIR)/include/dom.h +- cp src/msgno.h $(INSTDIR)/include/msgno.h +- cp $(SONAME) $(INSTDIR)/lib +- cd $(INSTDIR)/lib && ln -sf $(SONAME) $(SOVERSION) && ln -sf $(SONAME) lib$(LIBNAME).so ++ ${BSD_INSTALL_DATA} src/dom.h $(INSTDIR)/include/dom.h ++ ${BSD_INSTALL_DATA} src/msgno.h $(INSTDIR)/include/msgno.h ++ ${BSD_INSTALL_DATA} $(SONAME) $(INSTDIR)/lib ++ ln -sf $(SONAME) $(INSTDIR)/lib/lib$(LIBNAME).so + + clean: + rm $(OBJS) $(SONAME) $(INSTDIR)/include/dom.h $(INSTDIR)/include/msgno.h $(INSTDIR)/lib/$(SONAME) $(INSTDIR)/lib/$(SOVERSION) $(INSTDIR)/lib/lib$(LIBNAME).so + if [ -f examples/d5.o ]; then $(MAKE) -C examples clean; fi + .c.o: +- gcc -Wall -I../include -Isrc -Lsrc -fPIC -DPIC -c -o $*.o $< ++ ${CC} ${CFLAGS} -I${LOCALBASE}/include/xml -I../include -Isrc -Lsrc -fPIC -DPIC -c -o $*.o $< diff --git a/devel/domc/files/patch-lib::expatls.c b/devel/domc/files/patch-lib::expatls.c deleted file mode 100644 index 5c318e61118..00000000000 --- a/devel/domc/files/patch-lib::expatls.c +++ /dev/null @@ -1,10 +0,0 @@ ---- lib/expatls.c.orig Tue Oct 9 13:28:19 2001 -+++ lib/expatls.c Tue Oct 9 13:28:07 2001 -@@ -24,6 +24,7 @@ - - /* expatls.c - DOM_DocumentLS - */ -+#include <sys/types.h> - #include <limits.h> - #include <ctype.h> - #include <stdio.h> diff --git a/devel/domc/files/patch-src::expatls.c b/devel/domc/files/patch-src::expatls.c new file mode 100644 index 00000000000..352ebde3c04 --- /dev/null +++ b/devel/domc/files/patch-src::expatls.c @@ -0,0 +1,10 @@ +--- src/expatls.c.orig Thu Dec 20 19:00:30 2001 ++++ src/expatls.c Sun Dec 30 11:34:02 2001 +@@ -25,6 +25,7 @@ + /* expatls.c - DOM_DocumentLS + */ + ++#include <sys/types.h> + #include <stdlib.h> + #include <limits.h> + #include <ctype.h> diff --git a/devel/domc/pkg-plist b/devel/domc/pkg-plist index ce41f6a9fcc..ad82fbd3f4a 100644 --- a/devel/domc/pkg-plist +++ b/devel/domc/pkg-plist @@ -1,7 +1,8 @@ include/dom.h +include/msgno.h lib/libdomc.so lib/libdomc.so.%%SHLIB_MAJOR%% -%%PORTDOCS%%share/doc/domc/apinotes.html +%%PORTDOCS%%share/doc/domc/domc.html %%PORTDOCS%%share/doc/domc/index.html %%PORTDOCS%%share/doc/domc/todo.txt %%PORTDOCS%%@dirrm share/doc/domc |