- Deprecate second part of obsoleted zope-related ports. For all maintained ports approval was received from corresponding maintainers. Bellow are links for more info. Deprecation reasons: http://people.freebsd.org/~rm/zope-ports-for-deprecation.html Maintainers approval thread: http://lists.freebsd.org/pipermail/freebsd-python/2011-December/003798.html Approved by: miwi (mentor) Feature safe: yes
49 lines
1.1 KiB
Makefile
49 lines
1.1 KiB
Makefile
# New ports collection makefile for: XMLMethods
|
|
# Date created: 02 Aug 2004
|
|
# Whom: Alexander Leidinger
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xmlmethods
|
|
PORTVERSION= 1.0.0
|
|
CATEGORIES= www zope
|
|
MASTER_SITES= SF/zope${PORTNAME}/zope${PORTNAME}/${PORTVERSION}
|
|
PKGNAMEPREFIX= zope-
|
|
DISTNAME= zopexmlmethods-${PORTVERSION:C/\./-/g}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Provides methods to apply to Zope objects for XML/XSLT processing
|
|
|
|
DEPRECATED= Development seems stalled. Last release is from 2003
|
|
EXPIRATION_DATE= 2012-01-06
|
|
|
|
LIB_DEPENDS= xslt:${PORTSDIR}/textproc/libxslt
|
|
|
|
USE_PYTHON= yes
|
|
USE_ZOPE= yes
|
|
USE_ZIP= yes
|
|
DIST_SUBDIR= zope
|
|
|
|
ZOPEPRODUCTNAME=ZopeXMLMethods
|
|
|
|
WRKSRC= ${WRKDIR}/${ZOPEPRODUCTNAME}
|
|
CPIO_FLAGS= --quiet -pdum -R
|
|
|
|
do-build:
|
|
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
|
|
@${CHMOD} -R a+r,go-w ${WRKSRC}
|
|
|
|
do-install:
|
|
@ ${CHMOD} -R og+rX ${WRKSRC}/
|
|
@ ${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}
|
|
@ cd ${WRKSRC} && ${FIND} . \
|
|
| ${CPIO} ${CPIO_FLAGS} ${BINOWN}:${BINGRP} \
|
|
${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}
|
|
|
|
post-install:
|
|
.if !defined(BATCH)
|
|
@${CAT} ${PKGMESSAGE}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|