Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Mar 2005 15:18:13 +0900
From:      mistral@imasy.or.jp (Yoshihiko Sarumaru)
To:        vs@FreeBSD.org
Cc:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/78699: Update port: sysutils/du2ps
Message-ID:  <050312151813.M0136425@shimako.yamayuri.org>
In-Reply-To: Your message of "Fri, 11 Mar 2005 16:49:32 GMT". <200503111649.j2BGnWZI003123@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

Thanks for your advice.
How about this Makefile ?

--- du2ps.bak/Makefile	Wed Mar 24 17:15:20 2004
+++ du2ps/Makefile	Sat Mar 12 14:56:14 2005
@@ -6,10 +6,9 @@
 #
 
 PORTNAME=	du2ps
-PORTVERSION=	2.1
-PORTREVISION=	1
+PORTVERSION=	3.1
 CATEGORIES=	sysutils
-MASTER_SITES=	http://www.research.co.jp/software/du2ps/
+MASTER_SITES=	http://line.to/mac/soft/du2ps/
 EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	mistral@imasy.or.jp
@@ -18,17 +17,25 @@
 # Nkf is required for just converting character code of japanese manual
 BUILD_DEPENDS=	nkf:${PORTSDIR}/japanese/nkf
 
-MAKEFILE=	makefile
 ALL_TARGET=
 
 MAN1=		du2ps.1
 MANLANG=	"" ja
 PLIST_FILES=	bin/du2ps
 
+.if !defined(NOPORTDOCS)
+PORTDOCS=	README.ver1 README.ver2 README.xdu du2ps.pdf du2psj.pdf
+pre-install:
+	${MKDIR} ${DOCSDIR}
+.endif
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/du2ps ${PREFIX}/bin/du2ps
-	${INSTALL_MAN} ${FILESDIR}/du2ps.1 ${PREFIX}/man/man1/du2ps.1
-	nkf -e ${WRKSRC}/du2ps.man > ${WRKDIR}/du2ps.1.ja
-	${INSTALL_MAN} ${WRKDIR}/du2ps.1.ja ${PREFIX}/man/ja/man1/du2ps.1
+	${INSTALL_MAN} ${WRKSRC}/du2ps.1 ${PREFIX}/man/man1/du2ps.1
+	nkf -e ${WRKSRC}/du2ps.1j > ${WRKSRC}/du2ps.1.ja
+	${INSTALL_MAN} ${WRKSRC}/du2ps.1.ja ${PREFIX}/man/ja/man1/du2ps.1
+.for file in ${PORTDOCS}
+	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
 
 .include <bsd.port.mk>

--- du2ps.bak/distinfo	Wed Mar 24 17:15:20 2004
+++ du2ps/distinfo	Fri Mar 11 22:09:26 2005
@@ -1,2 +1,2 @@
-MD5 (du2ps-2.1.tgz) = e0f1366513b1a257cfdb4676bb8c4f9c
-SIZE (du2ps-2.1.tgz) = 9152
+MD5 (du2ps-3.1.tgz) = 520c4fabaf78cf8daa71d7475c75a28c
+SIZE (du2ps-3.1.tgz) = 18721


--
Yoshihiko Sarumaru



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?050312151813.M0136425>