Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 May 2013 02:55:12 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/178593: graphics/quat: Update MASTER_SITES
Message-ID:  <20130514025512.ce0b178ab4ad667bcb1f38ea@yahoo.com>
Resent-Message-ID: <201305131810.r4DIA82i091120@freefall.freebsd.org>

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

>Number:         178593
>Category:       ports
>Synopsis:       graphics/quat: 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:   Mon May 13 18:10:07 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p11 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES
- Add LICENSE
- Add MAKE_JOBS_SAFE
- Support PLIST_FILES

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/graphics/quat/Makefile graphics/quat/Makefile
--- /usr/ports/graphics/quat/Makefile	2012-11-08 09:37:07.000000000 +0900
+++ graphics/quat/Makefile	2013-05-14 00:00:45.000000000 +0900
@@ -1,46 +1,52 @@
-# New ports collection makefile for:	quat
-# Date created:				26 Aug 2002
-# Whom:					David Yeske <dyeske@gmail.com>
-#
+# Created by: David Yeske <dyeske@gmail.com>
 # $FreeBSD: head/graphics/quat/Makefile 300896 2012-07-14 13:54:48Z beat $
-#
 
 PORTNAME=	quat
 PORTVERSION=	1.20
 CATEGORIES=	graphics
-MASTER_SITES=   http://www.physcip.uni-stuttgart.de/phy11733/download/
+#MASTER_SITES=	http://www.physcip.uni-stuttgart.de/phy11733/download/
+MASTER_SITES=	http://www.sourcefiles.org/Graphics/Fractals/
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A Three-dimensional fractal creator (command line only)
+COMMENT=	Three-dimensional fractal creator (command line only)
+
+LICENSE=	GPLv2 # (or later)
+
+OPTIONS_DEFINE=	OPTIMIZED_CFLAGS DOCS
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-gui \
 		--datadir=${PREFIX}/share/doc
+MAKE_JOBS_SAFE=	yes
 
-.if defined(WITH_OPTIMIZED_CFLAGS)
-CFLAGS+=	-O3 -ffast-math
-.endif
+PORTDOCS=	*
+PLIST_FILES=	bin/quat-txt
+
+.include <bsd.port.options.mk>
 
-pre-everything::
-.if !defined(WITH_OPTIMIZED_CFLAGS)
-	@${ECHO_MSG} "You can enable additional compilation optimizations"
-	@${ECHO_MSG} "by defining WITH_OPTIMIZED_CFLAGS"
+.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS}
+CFLAGS+=	-O3 -ffast-math
 .endif
 
 post-patch:
-	@${REINPLACE_CMD} -E -e 's,-(march=pentium|O3|ffast-math),,g' \
+	@${REINPLACE_CMD} -E -e \
+		's,-(march=pentium|O3|ffast-math),,g' \
 		${WRKSRC}/configure
-	@${REINPLACE_CMD} -E -e 's|-I\.[[:space:]]+-I\$$\(srcdir\)[[:space:]]+||' \
+	@${REINPLACE_CMD} -E -e \
+		's|-I\.[[:space:]]+-I\$$\(srcdir\)[[:space:]]+||' \
 		${WRKSRC}/kernel/Makefile.in
 # disable data file installation since distfile does not do
 # The Right Thing(TM)
 	@${REINPLACE_CMD} -E -e \
-		's|^(install-data-am:).*$$|\1|' \
-		${WRKSRC}/Makefile.in
-.if defined(NOPORTDOCS)
-	@${REINPLACE_CMD} -E -e \
-		's|^(SUBDIRS.*)doc|\1|' \
+		's|^(install-data-am:).*$$|\1| ; \
+		 s|^(SUBDIRS.*)doc|\1|' \
 		${WRKSRC}/Makefile.in
+
+post-install:
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${DOCSDIR}
+	@(cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \
+		${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
 .endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/graphics/quat/pkg-plist graphics/quat/pkg-plist
--- /usr/ports/graphics/quat/pkg-plist	2012-11-08 09:37:07.000000000 +0900
+++ graphics/quat/pkg-plist	1970-01-01 09:00:00.000000000 +0900
@@ -1,27 +0,0 @@
-bin/quat-txt
-%%PORTDOCS%%share/doc/quat/Dendr_st.jpg
-%%PORTDOCS%%share/doc/quat/ce.png
-%%PORTDOCS%%share/doc/quat/chart_de.png
-%%PORTDOCS%%share/doc/quat/chart_us.png
-%%PORTDOCS%%share/doc/quat/ex_1.jpg
-%%PORTDOCS%%share/doc/quat/ex_2.jpg
-%%PORTDOCS%%share/doc/quat/ex_3.jpg
-%%PORTDOCS%%share/doc/quat/gpl.html
-%%PORTDOCS%%share/doc/quat/ie.png
-%%PORTDOCS%%share/doc/quat/oe.png
-%%PORTDOCS%%share/doc/quat/ote.png
-%%PORTDOCS%%share/doc/quat/quat-de-1.html
-%%PORTDOCS%%share/doc/quat/quat-de-2.html
-%%PORTDOCS%%share/doc/quat/quat-de-3.html
-%%PORTDOCS%%share/doc/quat/quat-de-4.html
-%%PORTDOCS%%share/doc/quat/quat-de-5.html
-%%PORTDOCS%%share/doc/quat/quat-de.html
-%%PORTDOCS%%share/doc/quat/quat-us-1.html
-%%PORTDOCS%%share/doc/quat/quat-us-2.html
-%%PORTDOCS%%share/doc/quat/quat-us-3.html
-%%PORTDOCS%%share/doc/quat/quat-us-4.html
-%%PORTDOCS%%share/doc/quat/quat-us-5.html
-%%PORTDOCS%%share/doc/quat/quat-us.html
-%%PORTDOCS%%share/doc/quat/quat.png
-%%PORTDOCS%%share/doc/quat/ve.png
-%%PORTDOCS%%@dirrm share/doc/quat
>Release-Note:
>Audit-Trail:
>Unformatted:



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