Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Apr 2014 17:10:56 +0600 (BDT)
From:      Muhammad Moinur Rahman <5u623l20@gmail.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/188789: [MAINTAINER] www/py-jonpy: STAGE, OPTIONSNG and LICENSE
Message-ID:  <201404191110.s3JBAu8G056115@bofh.1asiacom.net>
Resent-Message-ID: <201404191120.s3JBK0j9096845@freefall.freebsd.org>

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

>Number:         188789
>Category:       ports
>Synopsis:       [MAINTAINER] www/py-jonpy: STAGE, OPTIONSNG and LICENSE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 19 11:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Muhammad Moinur Rahman
>Release:        FreeBSD 11.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD bofh.1asiacom.net 11.0-CURRENT FreeBSD 11.0-CURRENT #1 r263870: Fri Mar 28 16:37:49 BDT
>Description:
- Converted to OPTIONSNG
- Added STAGE support
- Added LICENSE

For Committer's reference:
http://pdr.s.ubze.ro/bulk/latest-per-pkg/py27-jonpy/0.10_1/84i386-default.log
http://pdr.s.ubze.ro/bulk/latest-per-pkg/py27-jonpy/0.10_1/84amd64-default.log
http://pdr.s.ubze.ro/bulk/latest-per-pkg/py27-jonpy/0.10_1/92i386-default.log
http://pdr.s.ubze.ro/bulk/latest-per-pkg/py27-jonpy/0.10_1/92amd64-default.log
http://pdr.s.ubze.ro/bulk/latest-per-pkg/py27-jonpy/0.10_1/100i386-default.log
http://pdr.s.ubze.ro/bulk/latest-per-pkg/py27-jonpy/0.10_1/100amd64-default.log
http://pdr.s.ubze.ro/bulk/latest-per-pkg/py27-jonpy/0.10_1/110i386-default.log
http://pdr.s.ubze.ro/bulk/latest-per-pkg/py27-jonpy/0.10_1/110amd64-default.log

Superseeds ports/188735.

Generated with FreeBSD Port Tools 1.00.2014.03.23 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:

--- py-jonpy-0.10.patch begins here ---
diff -ruN /usr/ports//www/py-jonpy/Makefile ./Makefile
--- /usr/ports//www/py-jonpy/Makefile	2014-01-22 23:00:46.000000000 +0600
+++ ./Makefile	2014-04-19 16:14:12.591428235 +0600
@@ -3,6 +3,7 @@
 
 PORTNAME=	jonpy
 PORTVERSION=	0.10
+PORTREVISION=	1
 CATEGORIES=	www python
 MASTER_SITES=	SF
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,20 +11,27 @@
 MAINTAINER=	5u623l20@gmail.com
 COMMENT=	Python FastCGI interface library
 
+LICENSE=	MIT
+
 USE_PYTHON=		yes
 USE_PYDISTUTILS=	yes
 NO_BUILD=		yes
 
 PORTDOCS=	*
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS EXAMPLES
+OPTIONS_SUB=	yes
+
+.include <bsd.port.options.mk>
 post-install:
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
 .endif
-	${MKDIR} ${EXAMPLESDIR}
+.if ${PORT_OPTIONS:MEXAMPLES}
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	(cd ${WRKSRC}/example && ${FIND} . | \
-		${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR})
+		${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${EXAMPLESDIR})
+.endif
 
 .include <bsd.port.mk>
diff -ruN /usr/ports//www/py-jonpy/pkg-plist ./pkg-plist
--- /usr/ports//www/py-jonpy/pkg-plist	2014-01-22 21:16:56.000000000 +0600
+++ ./pkg-plist	2014-04-19 16:04:35.711472683 +0600
@@ -37,13 +37,13 @@
 %%PYTHON_SITELIBDIR%%/jon/wsgi.py
 %%PYTHON_SITELIBDIR%%/jon/wsgi.pyc
 %%PYTHON_SITELIBDIR%%/jon/wsgi.pyo
-%%EXAMPLESDIR%%/wt/.htaccess
-%%EXAMPLESDIR%%/wt/printenv.html.py
-%%EXAMPLESDIR%%/cgi-bin/wt.py
-%%EXAMPLESDIR%%/printenv.html
-%%EXAMPLESDIR%%/.htaccess
+%%EXAMPLES%%%%EXAMPLESDIR%%/wt/.htaccess
+%%EXAMPLES%%%%EXAMPLESDIR%%/wt/printenv.html.py
+%%EXAMPLES%%%%EXAMPLESDIR%%/cgi-bin/wt.py
+%%EXAMPLES%%%%EXAMPLESDIR%%/printenv.html
+%%EXAMPLES%%%%EXAMPLESDIR%%/.htaccess
 @dirrm %%PYTHON_SITELIBDIR%%/jon/wt
 @dirrm %%PYTHON_SITELIBDIR%%/jon
-@dirrm %%EXAMPLESDIR%%/cgi-bin
-@dirrm %%EXAMPLESDIR%%/wt
-@dirrm %%EXAMPLESDIR%%
+%%EXAMPLES%%@dirrm %%EXAMPLESDIR%%/cgi-bin
+%%EXAMPLES%%@dirrm %%EXAMPLESDIR%%/wt
+%%EXAMPLES%%@dirrm %%EXAMPLESDIR%%
--- py-jonpy-0.10.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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