diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-04-04 12:46:14 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-04-04 12:46:14 +0000 |
commit | 3346c6ee3afabbbd898b401a9bdb289fd9830ea9 (patch) | |
tree | fac2c6ec9eeec902c6dd44418e183cd3804cd99f /www/zope-coreblog2/Makefile | |
parent | 4e5f0bce3191dd7aff0e3e6d6d3e58567a2fea64 (diff) | |
download | ports-3346c6ee3afabbbd898b401a9bdb289fd9830ea9.tar.gz ports-3346c6ee3afabbbd898b401a9bdb289fd9830ea9.zip |
Notes
Diffstat (limited to 'www/zope-coreblog2/Makefile')
-rw-r--r-- | www/zope-coreblog2/Makefile | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/www/zope-coreblog2/Makefile b/www/zope-coreblog2/Makefile new file mode 100644 index 000000000000..5cba21aa0d7f --- /dev/null +++ b/www/zope-coreblog2/Makefile @@ -0,0 +1,53 @@ +# New ports collection makefile for: zope-coreblog +# Date created: 20 March 2004 +# Whom: Yasushi Hayashi +# +# $FreeBSD$ +# + +PORTNAME= coreblog +PORTVERSION= 0.61b +CATEGORIES= www zope +MASTER_SITES= http://zope.org/Members/ats/COREBlog/COREBlog%200.61b/ \ + http://coreblog.org/junk/ +PKGNAMEPREFIX= zope- +DISTNAME= COREBlog061b +EXTRACT_SUFX= .tgz + +MAINTAINER= yasi@yasi.to +COMMENT= A Zope Blog/Weblog/Web Nikki Product + +USE_PYTHON= yes +USE_ZOPE= yes +DIST_SUBDIR= zope + +ZOPEPRODUCTNAME=COREBlog + +PLIST= ${WRKDIR}/pkg-plist +WRKSRC= ${WRKDIR}/${ZOPEPRODUCTNAME} + +do-build: + -@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/ + +pre-install: + @${RM} -f ${PLIST} + @${TOUCH} ${PLIST} + @cd ${WRKDIR} ;\ + for f in `${FIND} ${ZOPEPRODUCTNAME} -type f`; do \ + ${ECHO_CMD} %%ZOPEPRODUCTDIR%%/$${f} >> ${PLIST}; \ + done; \ + for d in `${FIND} -d ${ZOPEPRODUCTNAME} -type d`; do \ + ${ECHO_CMD} @dirrm %%ZOPEPRODUCTDIR%%/$${d} >> ${PLIST}; \ + done; \ + +do-install: + @${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/ + @${CHMOD} -R og+rX ${WRKSRC}/ + @${CP} -R ${WRKSRC} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/ + +post-install: +.if !defined(BATCH) + @${CAT} ${PKGMESSAGE} +.endif + +.include <bsd.port.mk> |