Date: Fri, 11 Jul 2003 10:17:59 -0500 (CDT) From: Mark Linimon <linimon@lonesome.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/54382: [patch] fix manual fetch logic for www/MT Message-ID: <200307111517.h6BFHx4h024944@lonesome.lonesome.com> Resent-Message-ID: <200307111520.h6BFK6pY031118@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 54382 >Category: ports >Synopsis: [patch] fix manual fetch logic for www/MT >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: Fri Jul 11 08:20:06 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Mark Linimon >Release: FreeBSD-4.7 >Organization: FreeBSD >Environment: System: FreeBSD lonesome.lonesome.com 4.7-STABLE FreeBSD 4.7-STABLE #0: Fri Nov 8 23:46:29 CST 2002 root@lonesome.lonesome.com:/usr/src/sys/compile/MULTIMEDIA i386 >Description: The bento errorlogs report being unable to fetch this port. This turns out to be due to the conditional logic being included before the inclusion of bsd.port.pre.mk. >How-To-Repeat: make fetch >Fix: The following fix brings this port exactly into line with the logic in java/jdk14, and, in addition, clarifies the download instructions. --- MT/Makefile.dist Fri Jul 11 09:57:24 2003 +++ MT/Makefile Fri Jul 11 10:14:54 2003 @@ -14,10 +14,6 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-full-lib DOWNLOAD_URL?= http://www.movabletype.org/download.shtml -.if !exists(${DISTDIR}/${DISTFILES}) -IGNORE= Please download the distfiles from ${DOWNLOAD_URL} and read \ - the license agreement before download. -.endif DATADIR= www/data/mt CGIDIR= www/cgi-bin/mt @@ -39,6 +35,16 @@ NO_BUILD= yes .include <bsd.port.pre.mk> + +.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING) +ECHO_MSG=/usr/bin/printf +IGNORE= :\n\ +Because of licensing restrictions, you must fetch the source distribution\n\ +manually. Please access ${DOWNLOAD_URL}, follow\n\ +the registration instructions, select \"full version, with libraries\" and\n\ +\"gzipped tar\", download the file into ${DISTDIR}/, and then\n\ +run make again.\n +.endif do-install: @cd ${WRKSRC} && ${FIND} * -name "*.orig" -delete >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307111517.h6BFHx4h024944>