diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-04-29 19:21:15 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-04-29 19:21:15 +0000 |
commit | 24862e1b09412748597e511086f9949a7c2cf734 (patch) | |
tree | 34222ab088b37850b410377e30f5a095b6726ff9 /www/moinmoin | |
parent | 9a85df7d34a38d23db7d14c231fd53639b5042fa (diff) | |
download | FreeBSD-ports-24862e1b09412748597e511086f9949a7c2cf734.zip FreeBSD-ports-24862e1b09412748597e511086f9949a7c2cf734.tar.gz |
use USE_PYDISTUTILS
Diffstat (limited to 'www/moinmoin')
-rw-r--r-- | www/moinmoin/Makefile | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/www/moinmoin/Makefile b/www/moinmoin/Makefile index 105ee92..a7d9f42d 100644 --- a/www/moinmoin/Makefile +++ b/www/moinmoin/Makefile @@ -19,6 +19,7 @@ EXTRACT_ONLY= ${DISTNAME}.tgz MAINTAINER= perky@fallin.lv USE_PYTHON= yes +USE_PYDISTUTILS= yes PLIST_SUB+= PYTHON_SITELIB=${PYTHON_SITELIBDIR:S|^${LOCALBASE}/||} CGIUSER?= moinmoin @@ -26,7 +27,6 @@ CGIUSERID?= 192 CGIROOT= ${PREFIX}/www/cgi-bin HTDOCSROOT= ${PREFIX}/www/data MOINDIR= ${PREFIX}/share/moin -SETUP_CMD= cd ${WRKSRC} && ${PYTHON_CMD} setup.py do-configure: @# Add the username, uid, group and gid @@ -38,17 +38,14 @@ post-patch: ${WRKSRC}/wiki/cgi-bin/moin_config.py > \ ${WRKSRC}/wiki/cgi-bin/moin_config.py.default -do-build: - ${SETUP_CMD} build +post-build: @# Compile setuid wrapper ${CC} ${CFLAGS} -o ${WRKDIR}/moin \ -DPYTHON_PATH='"${PYTHON_CMD}"' \ -DMOIN_PREFIX='"${MOINDIR}"' \ ${FILESDIR}/wrapper.c -do-install: - @# Install MoinMoin - ${SETUP_CMD} install +post-install: ${INSTALL_DATA} ${DISTDIR}/twikidraw.jar ${MOINDIR}/htdocs/applets/TWikiDrawPlugin/ @# Install Wrapper @@ -69,7 +66,6 @@ do-install: ${LN} -sf ${MOINDIR}/data/text.default ${MOINDIR}/data/text -${LN} -sf ${MOINDIR}/htdocs ${HTDOCSROOT}/moin -post-install: @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> |