diff options
-rw-r--r-- | www/MT/Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
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 <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 @${ECHO} "Installing cgi ${PREFIX}/${CGIDIR}" |