aboutsummaryrefslogtreecommitdiff
path: root/www/squishdot/Makefile
diff options
context:
space:
mode:
authorJohann Visagie <wjv@FreeBSD.org>2001-08-08 15:20:16 +0000
committerJohann Visagie <wjv@FreeBSD.org>2001-08-08 15:20:16 +0000
commit95fca9b7db9a1a3885360b43188fd2a631500668 (patch)
tree03d359becab1406ee3e4421482d6cdfc70c44395 /www/squishdot/Makefile
parentc9da1c57897c5ae8df87c22aa1b2a067b8b80124 (diff)
downloadports-95fca9b7db9a1a3885360b43188fd2a631500668.tar.gz
ports-95fca9b7db9a1a3885360b43188fd2a631500668.zip
Notes
Diffstat (limited to 'www/squishdot/Makefile')
-rw-r--r--www/squishdot/Makefile18
1 files changed, 13 insertions, 5 deletions
diff --git a/www/squishdot/Makefile b/www/squishdot/Makefile
index bac2d438e977..25d87c7f3ac9 100644
--- a/www/squishdot/Makefile
+++ b/www/squishdot/Makefile
@@ -6,9 +6,9 @@
#
PORTNAME= squishdot
-PORTVERSION= 0.7.3
+PORTVERSION= 1.2.1
CATEGORIES= www
-MASTER_SITES= http://squishdot.org/Download/ \
+MASTER_SITES= http://squishdot.org/Download/Squishdot/ \
http://www.zope.org/Members/chrisw/Squishdot/
DISTNAME= Squishdot-${PORTVERSION:S/./-/g}
@@ -16,10 +16,10 @@ MAINTAINER= nbm@FreeBSD.org
RUN_DEPENDS= ${LOCALBASE}/${SZOPEBASEDIR}/z2.py:${PORTSDIR}/www/zope
-NO_BUILD= YES
+USE_PYTHON= yes
# You can change this in the environment if you like.
-SZOPEBASEDIR?= www/Zope
+SZOPEBASEDIR?= www/Zope
# Don't change these
ZOPEBASEDIR= ${PREFIX}/${SZOPEBASEDIR}
@@ -30,9 +30,17 @@ WRKSRC= ${WRKDIR}/${ZOPEPRODUCTNAME}
PLIST_SUB= ZOPEBASEDIR=${SZOPEBASEDIR}
+do-build:
+ @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
+
do-install:
- @${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}/
+ @${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}
@${CP} -Rf ${WRKSRC}/* \
${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}/
+post-install:
+.if !defined(BATCH)
+ @${CAT} ${PKGMESSAGE}
+.endif
+
.include <bsd.port.mk>