Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2014 02:51:47 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/187056: astro/sunclock: Update MASTER_SITES
Message-ID:  <20140226025147.a5a7977460825730ef6c8a3c@yahoo.com>
Resent-Message-ID: <201402251810.s1PIA6YS042451@freefall.freebsd.org>

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

>Number:         187056
>Category:       ports
>Synopsis:       astro/sunclock: Update MASTER_SITES
>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 Feb 25 18:10:06 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 8.4-RELEASE-p7 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/astro/sunclock/Makefile astro/sunclock/Makefile
--- /usr/ports/astro/sunclock/Makefile	2014-02-08 04:12:03.000000000 +0900
+++ astro/sunclock/Makefile	2014-02-26 00:00:00.000000000 +0900
@@ -4,20 +4,19 @@
 PORTNAME=	sunclock
 PORTVERSION=	3.57
 CATEGORIES=	astro x11-clocks
-MASTER_SITES=	http://www.arvernes.com/files/jpd/ \
+MASTER_SITES=	DEBIAN
+DISTNAME=	${PORTNAME}_${PORTVERSION}.orig
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Shows which portion of the Earth's surface is illuminated by the Sun
 
-DEPRECATED=	No more public distfiles
-EXPIRATION_DATE=	2014-03-07
-
 LICENSE=	GPLv2
 
 LIB_DEPENDS=	libjpeg.so:${PORTSDIR}/graphics/jpeg \
 		libpng15.so:${PORTSDIR}/graphics/png
 
-USE_BZIP2=	yes
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
 USE_XORG=	xpm
 
 CPPFLAGS+=	$$(libpng-config --I_opts) \
@@ -27,8 +26,6 @@
 LDFLAGS+=	$$(libpng-config --L_opts) \
 		-L${LOCALBASE}/lib
 
-MAN1=		sunclock.1
-
 post-patch:
 	@cd ${WRKSRC} && ${SED} -e \
 		'/^DESTDIR/s|=.*|=${PREFIX}| ; \
@@ -52,19 +49,24 @@
 		's|gzFile \* fd;|gzFile fd;|' ${WRKSRC}/readvmf.c
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/sunclock ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/sunclock.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	(cd ${WRKSRC} && ${INSTALL_PROGRAM} sunclock \
+		${STAGEDIR}${PREFIX}/bin)
+	(cd ${WRKSRC} && ${INSTALL_MAN} sunclock.1 \
+		${STAGEDIR}${MANPREFIX}/man/man1)
 	@${MKDIR} ${STAGEDIR}${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/Sunclockrc ${STAGEDIR}${DATADIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} Sunclockrc \
+		${STAGEDIR}${DATADIR})
 	@${MKDIR} ${STAGEDIR}${DATADIR}/earthmaps/vmf
-	${INSTALL_DATA} ${WRKSRC}/vmf/*.vmf ${STAGEDIR}${DATADIR}/earthmaps/vmf
+	(cd ${WRKSRC}/vmf && ${INSTALL_DATA} *.vmf \
+		${STAGEDIR}${DATADIR}/earthmaps/vmf)
 	@${GZIP_CMD} ${STAGEDIR}${DATADIR}/earthmaps/vmf/*.vmf
 	@${MKDIR} ${STAGEDIR}${DATADIR}/i18n
-	${INSTALL_DATA} ${WRKSRC}/i18n/Sunclock.?? ${STAGEDIR}${DATADIR}/i18n
-	${INSTALL_PROGRAM} ${WRKSRC}/editkit/emx ${STAGEDIR}${PREFIX}/bin
+	(cd ${WRKSRC}/i18n && ${INSTALL_DATA} Sunclock.?? \
+		${STAGEDIR}${DATADIR}/i18n)
+	(cd ${WRKSRC}/editkit && ${INSTALL_PROGRAM} emx \
+		${STAGEDIR}${PREFIX}/bin)
 	@${MKDIR} ${STAGEDIR}${DATADIR}/editkit
-	${INSTALL_DATA} ${WRKSRC}/editkit/MANUAL.emacs ${STAGEDIR}${DATADIR}/editkit
-	${INSTALL_DATA} ${WRKSRC}/editkit/README ${STAGEDIR}${DATADIR}/editkit
-	${INSTALL_DATA} ${WRKSRC}/editkit/emxrc ${STAGEDIR}${DATADIR}/editkit
+	(cd ${WRKSRC}/editkit && ${INSTALL_DATA} MANUAL.emacs README emxrc \
+		${STAGEDIR}${DATADIR}/editkit)
 
 .include <bsd.port.mk>
diff -urN /usr/ports/astro/sunclock/distinfo astro/sunclock/distinfo
--- /usr/ports/astro/sunclock/distinfo	2013-11-06 21:48:49.000000000 +0900
+++ astro/sunclock/distinfo	2014-02-26 00:00:00.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (sunclock-3.57.tar.bz2) = 4328200ceaa31160e901fb855d664033566d72b26a90605acc5d0ed9365402be
-SIZE (sunclock-3.57.tar.bz2) = 1325138
+SHA256 (sunclock_3.57.orig.tar.gz) = f3b3499b4a84c7a31411d2a9043e2d9171b745ec29a991ef9930ce582b9d41ab
+SIZE (sunclock_3.57.orig.tar.gz) = 1571073
>Release-Note:
>Audit-Trail:
>Unformatted:



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