diff options
author | petef <petef@FreeBSD.org> | 2001-12-31 03:52:44 +0800 |
---|---|---|
committer | petef <petef@FreeBSD.org> | 2001-12-31 03:52:44 +0800 |
commit | f580057c885790681524f05282f4111c87d64157 (patch) | |
tree | 754614d29948690765dd92f9ac06b2340fb55314 | |
parent | a54b17edd26209794404fa60a2e2eb4a2c26de3c (diff) | |
download | freebsd-ports-gnome-f580057c885790681524f05282f4111c87d64157.tar.gz freebsd-ports-gnome-f580057c885790681524f05282f4111c87d64157.tar.zst freebsd-ports-gnome-f580057c885790681524f05282f4111c87d64157.zip |
- update to 0.5.8
- don't rewrite do-install, patch the distribution's Makefile instead
PR: 33334
Submitted by: KATO Tsuguru <tkato@prontomail.com>
-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 | ||||
-rw-r--r-- | textproc/domc/Makefile | 8 | ||||
-rw-r--r-- | textproc/domc/distinfo | 2 | ||||
-rw-r--r-- | textproc/domc/files/patch-Makefile | 31 | ||||
-rw-r--r-- | textproc/domc/files/patch-lib::expatls.c | 10 | ||||
-rw-r--r-- | textproc/domc/files/patch-src::expatls.c | 10 | ||||
-rw-r--r-- | textproc/domc/pkg-plist | 3 |
12 files changed, 72 insertions, 56 deletions
diff --git a/devel/domc/Makefile b/devel/domc/Makefile index 93c7584ea3d9..3e50f4749f3f 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 0e6aba5ed56d..0f6b80a045e3 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 fd1c21a38ab8..f6ad1c422486 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 5c318e611185..000000000000 --- 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 000000000000..352ebde3c041 --- /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 ce41f6a9fcc7..ad82fbd3f4a4 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 diff --git a/textproc/domc/Makefile b/textproc/domc/Makefile index 93c7584ea3d9..3e50f4749f3f 100644 --- a/textproc/domc/Makefile +++ b/textproc/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/textproc/domc/distinfo b/textproc/domc/distinfo index 0e6aba5ed56d..0f6b80a045e3 100644 --- a/textproc/domc/distinfo +++ b/textproc/domc/distinfo @@ -1 +1 @@ -MD5 (domc-0.5.1.tgz) = 73f1dc3cd9df88446804a218b750f3e9 +MD5 (domc-0.5.8.tgz) = 318bf898a680af5b32399b78af31de06 diff --git a/textproc/domc/files/patch-Makefile b/textproc/domc/files/patch-Makefile index fd1c21a38ab8..f6ad1c422486 100644 --- a/textproc/domc/files/patch-Makefile +++ b/textproc/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/textproc/domc/files/patch-lib::expatls.c b/textproc/domc/files/patch-lib::expatls.c deleted file mode 100644 index 5c318e611185..000000000000 --- a/textproc/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/textproc/domc/files/patch-src::expatls.c b/textproc/domc/files/patch-src::expatls.c new file mode 100644 index 000000000000..352ebde3c041 --- /dev/null +++ b/textproc/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/textproc/domc/pkg-plist b/textproc/domc/pkg-plist index ce41f6a9fcc7..ad82fbd3f4a4 100644 --- a/textproc/domc/pkg-plist +++ b/textproc/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 |