Bug 188789 - [MAINTAINER] www/py-jonpy: STAGE, OPTIONSNG and LICENSE
Summary: [MAINTAINER] www/py-jonpy: STAGE, OPTIONSNG and LICENSE
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-19 12:20 UTC by Muhammad Moinur Rahman
Modified: 2014-04-26 19:35 UTC (History)
0 users

See Also:


Attachments
py-jonpy-0.10.patch (2.05 KB, patch)
2014-04-19 12:20 UTC, Muhammad Moinur Rahman
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-04-19 12:20:05 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sunpoet

sunpoet@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-04-26 19:15:42 UTC
Author: sunpoet
Date: Sat Apr 26 18:15:31 2014
New Revision: 352351
URL: http://svnweb.freebsd.org/changeset/ports/352351
QAT: https://qat.redports.org/buildarchive/r352351/

Log:
  - Add LICENSE
  - Convert to new options framework
  - Support STAGEDIR
  - While I'm here:
    - Use PYDISTUTILS_AUTOPLIST
    - Use PORTEXAMPLES
    - Use COPYTREE_SHARE
    - Simplify Makefile
    - Remove NO_BUILD
    - Remove .include <bsd.port.options.mk>
  
  PR:		ports/188789
  Submitted by:	Muhammad Moinur Rahman <5u623l20@gmail.com> (maintainer)

Deleted:
  head/www/py-jonpy/pkg-plist
Modified:
  head/www/py-jonpy/Makefile

Modified: head/www/py-jonpy/Makefile
==============================================================================
--- head/www/py-jonpy/Makefile	Sat Apr 26 18:15:27 2014	(r352350)
+++ head/www/py-jonpy/Makefile	Sat Apr 26 18:15:31 2014	(r352351)
@@ -3,6 +3,7 @@
 
 PORTNAME=	jonpy
 PORTVERSION=	0.10
+PORTREVISION=	1
 CATEGORIES=	www python
 MASTER_SITES=	SF
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,20 +11,21 @@ PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 MAINTAINER=	5u623l20@gmail.com
 COMMENT=	Python FastCGI interface library
 
-USE_PYTHON=		yes
-USE_PYDISTUTILS=	yes
-NO_BUILD=		yes
+LICENSE=	MIT
+
+USE_PYTHON=	yes
+USE_PYDISTUTILS=yes
+PYDISTUTILS_AUTOPLIST=	yes
 
 PORTDOCS=	*
+PORTEXAMPLES=	*
+
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
-NO_STAGE=	yes
 post-install:
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
-.endif
-	${MKDIR} ${EXAMPLESDIR}
-	(cd ${WRKSRC}/example && ${FIND} . | \
-		${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR})
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	cd ${WRKSRC}/example && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Po-Chuan Hsieh freebsd_committer freebsd_triage 2014-04-26 19:35:05 UTC
State Changed
From-To: open->closed

Committed. Thanks!