ajacoutot 561d6fe9bc Sanitize some @unexec/@extraunexec calls to rm: move them up in the
PLIST and remove remove everything under the @sample'd directory instead
of the directory itself to prevent a warning from pkg_delete(1) trying
to remove a non existing directory and to help preventing left-over
files and directories.
2011-05-11 06:22:16 +00:00

43 lines
983 B
Makefile

# $OpenBSD: Makefile,v 1.10 2011/05/11 06:22:17 ajacoutot Exp $
COMMENT= sqlite-based object persistence system for python
VERSION= 0.6.0
DISTNAME= Axiom-${VERSION}
PKGNAME= py-axiom-${VERSION}
REVISION = 1
CATEGORIES= databases
HOMEPAGE= http://divmod.org/trac/wiki/DivmodAxiom
MAINTAINER= Eric Faurot <eric@openbsd.org>
# MIT
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://ekyo.nerim.net/distfiles/
MODULES= lang/python
COMMON_DEPENDS= devel/py-epsilon \
databases/py-sqlite2
BUILD_DEPENDS= ${COMMON_DEPENDS}
RUN_DEPENDS= ${COMMON_DEPENDS} \
devel/py-twisted/conch
REGRESS_DEPENDS=${COMMON_DEPENDS}
MODPY_DISTUTILS_BUILD= build --build-base=${WRKSRC}/.build
MODPY_EGG_VERSION= ${VERSION}
TRIALDIR= ${WRKDIR}/trial
do-regress: install
mkdir -m 0777 ${TRIALDIR} && cd ${TRIALDIR} && ${SUDO} su -m nobody -c \
"${LOCALBASE}/bin/trial ${MODPY_SITEPKG}/axiom/test"
.include <bsd.port.mk>