aboutsummaryrefslogtreecommitdiffstats
path: root/www/MT
diff options
context:
space:
mode:
authorfoxfair <foxfair@FreeBSD.org>2003-07-14 13:29:22 +0800
committerfoxfair <foxfair@FreeBSD.org>2003-07-14 13:29:22 +0800
commit3b106a38383fecfb9802041c8e8cc4184b8b4498 (patch)
treea33ea5cae99374f7d246b8546fa1b16a6474f792 /www/MT
parent0e8afac371b774651ba593d176f6fb50d6c50295 (diff)
downloadfreebsd-ports-gnome-3b106a38383fecfb9802041c8e8cc4184b8b4498.tar.gz
freebsd-ports-gnome-3b106a38383fecfb9802041c8e8cc4184b8b4498.tar.zst
freebsd-ports-gnome-3b106a38383fecfb9802041c8e8cc4184b8b4498.zip
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
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}"