svn commit: r323869 - head/japanese/xdtp
Alexey Dokuchaev
danfe at FreeBSD.org
Mon Jul 29 07:29:22 UTC 2013
Author: danfe
Date: Mon Jul 29 07:29:21 2013
New Revision: 323869
URL: http://svnweb.freebsd.org/changeset/ports/323869
Log:
- Fix parallel builds, remove odious MAKE_JOB_UNSAFE
- Define LICENSE (BSD), do not reset default DISTNAME
- Cleanup the port a bit, inc. header and COMMENT
- Add useful port description, fix WWW address
Reported by: pointyhat-west
NB: there is version 1.4.0 available.
Modified:
head/japanese/xdtp/Makefile
head/japanese/xdtp/pkg-descr
Modified: head/japanese/xdtp/Makefile
==============================================================================
--- head/japanese/xdtp/Makefile Mon Jul 29 07:26:18 2013 (r323868)
+++ head/japanese/xdtp/Makefile Mon Jul 29 07:29:21 2013 (r323869)
@@ -1,4 +1,4 @@
-# Created by: Masanori OZAWA (ozawa at ongs.co.jp)
+# Created by: Masanori OZAWA <ozawa at ongs.co.jp>
# $FreeBSD$
PORTNAME= xdtp
@@ -6,19 +6,19 @@ PORTVERSION= 1.3.1
PORTREVISION= 4
CATEGORIES= japanese
MASTER_SITES+= http://www.ongs.co.jp/projects/xdtp/
-DISTNAME= xdtp-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= ozawa at ongs.co.jp
-COMMENT= XDTP (XML Document Transfer Program)
+COMMENT= XML document transfer program
+
+LICENSE= BSD
LIB_DEPENDS= glibmm-2.4:${PORTSDIR}/devel/glibmm
+USES= pkgconfig
USE_LDCONFIG= yes
USE_GNOME= libxml2 libxslt
-USES= pkgconfig
GNU_CONFIGURE= yes
-MAKE_JOB_UNSAFE= yes
OPTIONS_DEFINE= GDK DEBUG INCLUDE
GDK_DESC= Build with Gdk-Pixbuf
@@ -50,4 +50,10 @@ MAKE_ARGS+= -DWITHOUT_INCLUDE
PLIST_SUB+= XDTP_INC="@comment "
.endif
+# Unbreak parallel builds (-jX) by calling make(1) correctly
+post-patch:
+ @${REINPLACE_CMD} -E 's/cd(.+)(;| &&) (\$${MAKE})/\3 -C\1/' \
+ ${WRKSRC}/Makefile ${WRKSRC}/bin/Makefile \
+ ${WRKSRC}/java/Makefile ${WRKSRC}/misc/Makefile
+
.include <bsd.port.mk>
Modified: head/japanese/xdtp/pkg-descr
==============================================================================
--- head/japanese/xdtp/pkg-descr Mon Jul 29 07:26:18 2013 (r323868)
+++ head/japanese/xdtp/pkg-descr Mon Jul 29 07:29:21 2013 (r323869)
@@ -1,3 +1,5 @@
-XDTP (Xml Document Transfer Program)
+XDTP (XML Document Transform Program) is an application that offers
+arbitrarily XML document transformation suited for writing of books,
+web articles, magazine articles, or something like that.
-WWW: http://www.ongs.co.jp/projects/xdtp/
+WWW: http://www.ongs.co.jp/software/xdtp/
More information about the svn-ports-head
mailing list