pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/zope Add common Makefile part for zope29, zope210 ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6d99d8a631e3
branches:  trunk
changeset: 537322:6d99d8a631e3
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Jan 06 15:52:29 2008 +0000

description:
Add common Makefile part for zope29, zope210 and possibly zope211 in feature.

diffstat:

 www/zope/Makefile.common |  29 +++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)

diffs (33 lines):

diff -r 4f8db95105ae -r 6d99d8a631e3 www/zope/Makefile.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/zope/Makefile.common  Sun Jan 06 15:52:29 2008 +0000
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile.common,v 1.1 2008/01/06 15:52:29 taca Exp $
+#
+
+FILES_SUBST+=  RCVAR_SUFFIX=${RCVAR_SUFFIX}
+MESSAGE_SUBST+=        RCVAR_SUFFIX=${RCVAR_SUFFIX}
+
+PKG_GROUPS_VARS+=      ZOPE_GROUP
+PKG_USERS_VARS+=       ZOPE_USER
+
+PKG_GROUPS=    ${ZOPE_GROUP}
+PKG_USERS=     ${ZOPE_USER}:${ZOPE_GROUP}
+
+SUBST_CLASSES+=                site
+SUBST_STAGE.site=      pre-configure
+SUBST_FILES.site+=     lib/python/sitecustomize.py
+SUBST_SED.site=                -e "s|@ZOPE_VERSION@|${ZOPE_VERSION}|g"
+SUBST_MESSAGE.site=    Update sitecustomize.py to ${ZOPE_PKG}
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${_USE_DESTDIR} == "no"
+PRIVILEGED_STAGES+=    clean
+.endif
+
+.if ${OPSYS} == "FreeBSD"
+RCVAR_SUFFIX=  _enable
+.else
+RCVAR_SUFFIX=  # empty
+.endif



Home | Main Index | Thread Index | Old Index