Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Mar 2011 03:10:37 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/155800: Update port: sysutils/extipl
Message-ID:  <20110323031037.35c16b55.tkato432@yahoo.com>
Resent-Message-ID: <201103221820.p2MIK5sp036408@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         155800
>Category:       ports
>Synopsis:       Update port: sysutils/extipl
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 22 18:20:05 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.3-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES and WWW: line
- Utilize PLIST_FILES/PORTDOCS

Remove file:
pkg-plist

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/sysutils/extipl/Makefile sysutils/extipl/Makefile
--- /usr/ports/sysutils/extipl/Makefile	2011-03-14 12:53:59.000000000 +0900
+++ sysutils/extipl/Makefile	2011-03-22 18:11:22.000000000 +0900
@@ -8,27 +8,36 @@
 PORTNAME=	extipl
 PORTVERSION=	5.04
 CATEGORIES=	sysutils
-MASTER_SITES=	ftp://ports.jp.FreeBSD.org/pub/FreeBSD-jp/ports-jp/LOCAL_PORTS/ \
-		http://www.tsden.org/takamiti/extipl/archs/
+MASTER_SITES=	SFJP/${PORTNAME}/2166
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Partition-selectable boot loader for IBM-PC/AT compatibles
 
-DEPRECATED=     Upstream disapear and distfile is no more available
-EXPIRATION_DATE=        2011-05-01
-
 BUILD_DEPENDS=	nasm:${PORTSDIR}/devel/nasm
 
 ONLY_FOR_ARCHS=	i386 amd64
 
 WRKSRC=		${WRKDIR}/${DISTNAME}/src
 
-MAN8=		extipl.8
-MANCOMPRESSED=	yes
+MAN8=		${PORTNAME}.8
+PORTDOCS=	*
+PLIST_FILES=	sbin/${PORTNAME}
 
 post-patch:
 	cd ${WRKSRC}; \
+	${SED} -e 's|!!DOCDIR!!|${DOCSDIR}|g' \
+		${PORTNAME}.8.in > ${PORTNAME}.8; \
 	${REINPLACE_CMD} -e 's/^(CC)\t=/$$1?=/;' \
 		-e 's/(DIR)[\t]*[?]=/$$1=/;' Makefile
 
+do-install:
+	${INSTALL_PROGRAM} -m 700 ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${MAN8PREFIX}/man/man8
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}/English
+	${INSTALL_DATA} ${WRKSRC}/../doc/English/*.txt ${DOCSDIR}/English
+	@${MKDIR} ${DOCSDIR}/Japanese
+	${INSTALL_DATA} ${WRKSRC}/../doc/Japanese/*.txt ${DOCSDIR}/Japanese
+.endif
+
 .include <bsd.port.mk>
diff -urN /usr/ports/sysutils/extipl/pkg-descr sysutils/extipl/pkg-descr
--- /usr/ports/sysutils/extipl/pkg-descr	2001-03-23 00:04:22.000000000 +0900
+++ sysutils/extipl/pkg-descr	2011-03-14 14:33:21.000000000 +0900
@@ -2,4 +2,4 @@
 makes coexistence of several operating systems on your machine.
 This program works only IBM-PC/AT compatible computers.
 
-WWW: http://www.tsden.org/takamiti/extipl/
+WWW: http://extipl.sourceforge.jp/
diff -urN /usr/ports/sysutils/extipl/pkg-plist sysutils/extipl/pkg-plist
--- /usr/ports/sysutils/extipl/pkg-plist	2001-03-23 00:04:22.000000000 +0900
+++ sysutils/extipl/pkg-plist	1970-01-01 09:00:00.000000000 +0900
@@ -1,11 +0,0 @@
-sbin/extipl
-share/doc/extipl/English/extipl.txt
-share/doc/extipl/English/techical.txt
-share/doc/extipl/English/scorpius.txt
-share/doc/extipl/Japanese/extipl.txt
-share/doc/extipl/Japanese/techical.txt
-share/doc/extipl/Japanese/scorpius.txt
-@dirrm share/doc/extipl/English
-@dirrm share/doc/extipl/Japanese
-@dirrm share/doc/extipl
-@unexec rm -f %D/man/cat8/extipl.8.gz
>Release-Note:
>Audit-Trail:
>Unformatted:



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