diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2005-05-29 16:31:16 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2005-05-29 16:31:16 +0000 |
commit | 66fade5c423653aac322c049da96cd1085f7d022 (patch) | |
tree | 507a1a74d9849ec077b9720f78f6e0b7f3985245 /textproc/mini-xml | |
parent | 23268a034dd7e9bb7368049b42b3c2cb657c5960 (diff) | |
download | ports-66fade5c423653aac322c049da96cd1085f7d022.tar.gz ports-66fade5c423653aac322c049da96cd1085f7d022.zip |
Notes
Diffstat (limited to 'textproc/mini-xml')
-rw-r--r-- | textproc/mini-xml/Makefile | 5 | ||||
-rw-r--r-- | textproc/mini-xml/files/patch-Makefile.in | 33 |
2 files changed, 34 insertions, 4 deletions
diff --git a/textproc/mini-xml/Makefile b/textproc/mini-xml/Makefile index 5fa509146620..6ae88526c7fc 100644 --- a/textproc/mini-xml/Makefile +++ b/textproc/mini-xml/Makefile @@ -5,6 +5,7 @@ PORTNAME= mini-xml PORTVERSION= 2.2.2 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= http://ftp.easysw.com/pub/mxml/${PORTVERSION}/ \ http://www.nu6.org/_/mirror/ftp.easysw.com/pub/mxml/${PORTVERSION}/ @@ -23,10 +24,6 @@ MAN3= mxml.3 CAT1= mxmldoc.1 CAT3= mxml.3 -post-patch: - @${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|' \ - ${WRKSRC}/Makefile.in - post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} diff --git a/textproc/mini-xml/files/patch-Makefile.in b/textproc/mini-xml/files/patch-Makefile.in new file mode 100644 index 000000000000..ce7980e063f2 --- /dev/null +++ b/textproc/mini-xml/files/patch-Makefile.in @@ -0,0 +1,33 @@ + +$FreeBSD$ + +--- Makefile.in.orig ++++ Makefile.in +@@ -133,12 +133,12 @@ + done + $(INSTALL_DIR) $(BUILDROOT)$(includedir) + $(INSTALL_DATA) mxml.h $(BUILDROOT)$(includedir) +- $(INSTALL_DIR) $(BUILDROOT)$(libdir)/pkgconfig +- $(INSTALL_DATA) mxml.pc $(BUILDROOT)$(libdir)/pkgconfig +- $(INSTALL_DIR) $(BUILDROOT)$(mandir)/cat1 +- $(INSTALL_MAN) doc/mxmldoc.$(CAT1EXT) $(BUILDROOT)$(mandir)/cat1/mxmldoc.$(CAT1EXT) +- $(INSTALL_DIR) $(BUILDROOT)$(mandir)/cat3 +- $(INSTALL_MAN) doc/mxml.$(CAT3EXT) $(BUILDROOT)$(mandir)/cat3/mxml.$(CAT3EXT) ++ $(INSTALL_DIR) $(BUILDROOT)$(prefix)/libdata/pkgconfig ++ $(INSTALL_DATA) mxml.pc $(BUILDROOT)$(prefix)/libdata/pkgconfig ++ -$(MKDIR) -p $(BUILDROOT)$(mandir)/cat1 ++ $(CP) doc/mxmldoc.$(CAT1EXT) $(BUILDROOT)$(mandir)/cat1/mxmldoc.$(CAT1EXT) ++ -$(MKDIR) -p $(BUILDROOT)$(mandir)/cat3 ++ $(CP) doc/mxml.$(CAT3EXT) $(BUILDROOT)$(mandir)/cat3/mxml.$(CAT3EXT) + $(INSTALL_DIR) $(BUILDROOT)$(mandir)/man1 + $(INSTALL_MAN) doc/mxmldoc.man $(BUILDROOT)$(mandir)/man1/mxmldoc.$(MAN1EXT) + $(INSTALL_DIR) $(BUILDROOT)$(mandir)/man3 +@@ -177,7 +177,7 @@ + $(RM) $(BUILDROOT)$(bindir)/mxmldoc + $(RM) -r $(BUILDROOT)$(docdir) + $(RM) $(BUILDROOT)$(includedir)/mxml.h +- $(RM) $(BUILDROOT)$(libdir)/pkgconfig/mxml.pc ++ $(RM) $(BUILDROOT)$(prefix)/libdata/pkgconfig/mxml.pc + $(RM) $(BUILDROOT)$(mandir)/cat1/mxmldoc.$(CAT1EXT) + $(RM) $(BUILDROOT)$(mandir)/cat3/mxml.$(CAT3EXT) + $(RM) $(BUILDROOT)$(mandir)/man1/mxmldoc.$(MAN1EXT) |