42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.13 2011/09/02 09:56:02 sthen Exp $
|
|
|
|
COMMENT = simple CalDAV calendar server
|
|
|
|
MODPY_EGG_VERSION = 0.6.1
|
|
DISTNAME = Radicale-${MODPY_EGG_VERSION}
|
|
PKGNAME = ${DISTNAME:L}
|
|
CATEGORIES = productivity net
|
|
|
|
HOMEPAGE = http://radicale.org/
|
|
|
|
MAINTAINER = Sergey Bronnikov <estetus@gmail.com>
|
|
|
|
# GPLv3+
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
MASTER_SITES = ${MASTER_SITE_PYPI:=R/Radicale/}
|
|
|
|
MODULES = lang/python
|
|
MODPY_ADJ_FILES = radicale.py
|
|
|
|
NO_REGRESS = Yes
|
|
|
|
pre-configure:
|
|
@${SUBST_CMD} ${WRKSRC}/radicale/config.py
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/radicale
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/radicale
|
|
cd ${WRKSRC}; ${INSTALL_DATA} COPYING NEWS.rst README \
|
|
${PREFIX}/share/doc/radicale/
|
|
${SUBST_CMD} -g ${SHAREGRP} -o ${SHAREOWN} -c ${WRKSRC}/config \
|
|
${PREFIX}/share/examples/radicale/config
|
|
${INSTALL_DATA} ${WRKSRC}/logging \
|
|
${PREFIX}/share/examples/radicale/logging
|
|
touch ${PREFIX}/share/examples/radicale/log
|
|
|
|
.include <bsd.port.mk>
|