From 3b106a38383fecfb9802041c8e8cc4184b8b4498 Mon Sep 17 00:00:00 2001 From: foxfair Date: Mon, 14 Jul 2003 05:29:22 +0000 Subject: PR: 54382 Submitted by: Mark Linimon Reviewed by: Approved by: Obtained from: MFC after: Fix 'make fetch' problem by including bsd.port.pre.mk. Obtained from: bento --- www/MT/Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'www/MT') diff --git a/www/MT/Makefile b/www/MT/Makefile index 208d454c0b4c..975eb0bd68f6 100644 --- a/www/MT/Makefile +++ b/www/MT/Makefile @@ -14,10 +14,6 @@ COMMENT= A web-based personal publishing system like weblogs 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 @@ -40,6 +36,16 @@ NO_BUILD= yes .include +.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 @${ECHO} "Installing cgi ${PREFIX}/${CGIDIR}" -- cgit