aboutsummaryrefslogtreecommitdiff
path: root/databases/gadfly/Makefile
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>2002-07-12 11:20:55 +0000
committerThomas Gellekum <tg@FreeBSD.org>2002-07-12 11:20:55 +0000
commit7e2377544e79ea5602a3e927be84f66ab94fe3d1 (patch)
treec6417039a2740356eb7a263fc6497e078e9cfc1d /databases/gadfly/Makefile
parent8ff3e8424f896764b139dd5a9bc92723c26194de (diff)
downloadports-7e2377544e79ea5602a3e927be84f66ab94fe3d1.tar.gz
ports-7e2377544e79ea5602a3e927be84f66ab94fe3d1.zip
Notes
Diffstat (limited to 'databases/gadfly/Makefile')
-rw-r--r--databases/gadfly/Makefile33
1 files changed, 14 insertions, 19 deletions
diff --git a/databases/gadfly/Makefile b/databases/gadfly/Makefile
index 8f8be59eeff8..0aa80fab8b7c 100644
--- a/databases/gadfly/Makefile
+++ b/databases/gadfly/Makefile
@@ -6,33 +6,28 @@
#
PORTNAME= gadfly
-PORTVERSION= 1.0
-PORTREVISION= 1
+PORTVERSION= 1.0.0
CATEGORIES= databases
-MASTER_SITES= http://www.chordate.com/kwParsing/
-DISTNAME= kwP
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= gadfly
MAINTAINER= ports@FreeBSD.org
-USE_PYTHON= yes
-NO_WRKSUBDIR= yes
-NO_BUILD= yes
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/kjbuckets.so:${PORTSDIR}/devel/py-kjbuckets
-GADFLYDIR= ${PYTHON_SITELIBDIR}/gadfly
+USE_PYTHON= yes
+USE_PYDISTUTILS=yes
-do-install:
- ${MKDIR} ${GADFLYDIR}
- ${INSTALL_DATA} ${WRKSRC}/*.py ${GADFLYDIR}
- ${INSTALL_DATA} ${WRKSRC}/sql.mar ${GADFLYDIR}
- ${ECHO_CMD} 'gadfly' > ${PYTHON_SITELIBDIR}/gadfly.pth
- (cd ${GADFLYDIR}; ${PYTHON_CMD} gfinstall.py)
- @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${GADFLYDIR}
- @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${GADFLYDIR}
+post-install:
.if !defined(${NOPORTDOCS})
@${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/*.html ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/gadfly.JPG ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/COPYRIGHT.txt ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/CHANGES.txt ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/doc/build_html.py ${DOCSDIR}
+ @${MKDIR} ${EXAMPLESDIR}/kjParsing
+ @${INSTALL_DATA} ${WRKSRC}/doc/demo/kjParsing/*.py \
+ ${EXAMPLESDIR}/kjParsing
.endif
.include <bsd.port.mk>