1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/www/squishdot/Makefile
2003-01-09 14:43:52 +00:00

47 lines
1.0 KiB
Makefile

# New ports collection makefile for: Squishdot
# Date created: 06 Sep 2000
# Whom: Neil Blakey-Milner
#
# $FreeBSD$
#
PORTNAME= squishdot
PORTVERSION= 1.5.0
CATEGORIES= www zope
MASTER_SITES= http://squishdot.org/Download/Squishdot/ \
http://www.zope.org/Members/chrisw/Squishdot/
DISTNAME= Squishdot-${PORTVERSION:S/./-/g}
MAINTAINER= nbm@FreeBSD.org
RUN_DEPENDS= ${LOCALBASE}/${SZOPEBASEDIR}/z2.py:${PORTSDIR}/www/zope
USE_PYTHON= yes
# You can change this in the environment if you like.
SZOPEBASEDIR?= www/Zope
# Don't change these
ZOPEBASEDIR= ${PREFIX}/${SZOPEBASEDIR}
ZOPEPRODUCTNAME= Squishdot
ZOPEPRODUCTDIR= lib/python/Products
WRKSRC= ${WRKDIR}/${ZOPEPRODUCTNAME}
PLIST_SUB= ZOPEBASEDIR=${SZOPEBASEDIR}
do-build:
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC} 2>/dev/null
do-install:
@${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}
@${CP} -Rf ${WRKSRC}/* \
${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}/
post-install:
.if !defined(BATCH)
@${CAT} ${PKGMESSAGE}
.endif
.include <bsd.port.mk>