aboutsummaryrefslogtreecommitdiff
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
parentabfe4d84c7024a0bde95af52b1bbf9c429cdcfa6 (diff)
downloadports-41a1627cb9df8fe81c340b1356053e3e1009b01b.tar.gz
ports-41a1627cb9df8fe81c340b1356053e3e1009b01b.zip
Notes
-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}"