diff options
Diffstat (limited to 'www/squishdot/Makefile')
-rw-r--r-- | www/squishdot/Makefile | 18 |
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> |