- 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.
This commit is contained in:
Alexey Dokuchaev 2013-07-29 07:29:21 +00:00
parent afbfb728d2
commit 9d15a689a5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=323869
2 changed files with 15 additions and 7 deletions

View file

@ -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>

View file

@ -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/