Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Aug 2001 07:44:01 -0400 (EDT)
From:      Patrick Li <pat@databits.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/29797: Fix port databases/gadfly
Message-ID:  <200108171144.f7HBi1d07241@pento>

next in thread | raw e-mail | index | archive | help

>Number:         29797
>Category:       ports
>Synopsis:       Fix port databases/gadfly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 17 05:20:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Patrick Li
>Release:        FreeBSD 4.4-PRERELEASE i386
>Organization:
N/A
>Environment:
System: FreeBSD pento 4.4-PRERELEASE FreeBSD 4.4-PRERELEASE #0: Mon Aug 13 19:08:19 EDT 2001 pat@bottlenek:/usr/src/sys/compile/BOTTLENEK i386
>Description:
- Use NO_BUILD
- Correctly support NOPORTDOCS
>How-To-Repeat:
N/A
>Fix:
diff -ruN /usr/ports/databases/gadfly/Makefile gadfly/Makefile
--- /usr/ports/databases/gadfly/Makefile	Tue Jan 16 12:30:10 2001
+++ gadfly/Makefile	Fri Aug 17 07:05:20 2001
@@ -15,11 +15,9 @@
 
 USE_PYTHON=	yes
 NO_WRKSUBDIR=	yes
+NO_BUILD=	yes
 
 GADFLYDIR=	${PYTHON_SITELIBDIR}/gadfly
-GADFLYDOCDIR=	${PREFIX}/share/doc/gadfly
-
-do-build:
 
 do-install:
 	${MKDIR} ${GADFLYDIR}
@@ -29,11 +27,11 @@
 	(cd ${GADFLYDIR}; ${PYTHON_CMD} gfinstall.py)
 	@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${GADFLYDIR}
 	@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${GADFLYDIR}
-	${MKDIR} ${GADFLYDOCDIR}
-	${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${GADFLYDOCDIR}
 .if !defined(${NOPORTDOCS})
-	${INSTALL_DATA} ${WRKSRC}/*.html ${GADFLYDOCDIR}
-	${INSTALL_DATA} ${WRKSRC}/gadfly.JPG ${GADFLYDOCDIR}
+	@${MKDIR} ${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/*.html ${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/gadfly.JPG ${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>
diff -ruN /usr/ports/databases/gadfly/pkg-plist gadfly/pkg-plist
--- /usr/ports/databases/gadfly/pkg-plist	Thu Sep 14 08:05:42 2000
+++ gadfly/pkg-plist	Fri Aug 17 07:06:09 2001
@@ -84,14 +84,14 @@
 lib/%%PYTHON_VERSION%%/site-packages/gadfly/sqlwhere.py
 lib/%%PYTHON_VERSION%%/site-packages/gadfly/sqlwhere.pyc
 lib/%%PYTHON_VERSION%%/site-packages/gadfly/sqlwhere.pyo
-share/doc/gadfly/COPYRIGHT
-share/doc/gadfly/gadfly.JPG
-share/doc/gadfly/gadfly.html
-share/doc/gadfly/gfSQL.html
-share/doc/gadfly/gffaq.html
-share/doc/gadfly/gfrecover.html
-share/doc/gadfly/index.html
-share/doc/gadfly/kwParsing.html
-share/doc/gadfly/server.html
-@dirrm share/doc/gadfly
+%%PORTDOCS%%share/doc/gadfly/COPYRIGHT
+%%PORTDOCS%%share/doc/gadfly/gadfly.JPG
+%%PORTDOCS%%share/doc/gadfly/gadfly.html
+%%PORTDOCS%%share/doc/gadfly/gfSQL.html
+%%PORTDOCS%%share/doc/gadfly/gffaq.html
+%%PORTDOCS%%share/doc/gadfly/gfrecover.html
+%%PORTDOCS%%share/doc/gadfly/index.html
+%%PORTDOCS%%share/doc/gadfly/kwParsing.html
+%%PORTDOCS%%share/doc/gadfly/server.html
+%%PORTDOCS%%@dirrm share/doc/gadfly
 @dirrm lib/%%PYTHON_VERSION%%/site-packages/gadfly
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108171144.f7HBi1d07241>