aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2013-07-29 15:29:21 +0800
committerAlexey Dokuchaev <danfe@FreeBSD.org>2013-07-29 15:29:21 +0800
commit9d15a689a52622bf082a7055530b1253f6a14dd3 (patch)
tree70b9179d159bebfe9b5c1aa0f9fb8753b1c89dec /japanese
parentafbfb728d21431eac07fa933a1c0a129a7f62e0d (diff)
downloadfreebsd-ports-gnome-9d15a689a52622bf082a7055530b1253f6a14dd3.tar.gz
freebsd-ports-gnome-9d15a689a52622bf082a7055530b1253f6a14dd3.tar.zst
freebsd-ports-gnome-9d15a689a52622bf082a7055530b1253f6a14dd3.zip
- 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.
Diffstat (limited to 'japanese')
-rw-r--r--japanese/xdtp/Makefile16
-rw-r--r--japanese/xdtp/pkg-descr6
2 files changed, 15 insertions, 7 deletions
diff --git a/japanese/xdtp/Makefile b/japanese/xdtp/Makefile
index d9794a783bfc..b1361baff02c 100644
--- a/japanese/xdtp/Makefile
+++ b/japanese/xdtp/Makefile
@@ -1,4 +1,4 @@
-# Created by: Masanori OZAWA (ozawa@ongs.co.jp)
+# Created by: Masanori OZAWA <ozawa@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@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>
diff --git a/japanese/xdtp/pkg-descr b/japanese/xdtp/pkg-descr
index 634ae2b30876..3b86cc77e111 100644
--- a/japanese/xdtp/pkg-descr
+++ b/japanese/xdtp/pkg-descr
@@ -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/