summaryrefslogtreecommitdiff
path: root/www/MT
diff options
context:
space:
mode:
authorFoxfair Hu <foxfair@FreeBSD.org>2003-07-14 05:29:22 +0000
committerFoxfair Hu <foxfair@FreeBSD.org>2003-07-14 05:29:22 +0000
commit41a1627cb9df8fe81c340b1356053e3e1009b01b (patch)
treead9c2a61b08ac31c6c2a333e08257a834e676f67 /www/MT
parentupdate games/asc: 1.13.5.1 -> 1.13.7 (diff)
PR: 54382
Submitted by: Mark Linimon <linimon@lonesome.com> Reviewed by: Approved by: Obtained from: MFC after: Fix 'make fetch' problem by including bsd.port.pre.mk. Obtained from: bento
Notes
Notes: svn path=/head/; revision=84853
Diffstat (limited to 'www/MT')
-rw-r--r--www/MT/Makefile14
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}"