Bug 176976 - [PATCH] graphics/skencil: OptionsNG, license, take maintainership
Summary: [PATCH] graphics/skencil: OptionsNG, license, take maintainership
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: Beech Rintoul
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-15 00:10 UTC by nemysis
Modified: 2013-03-15 03:10 UTC (History)
0 users

See Also:


Attachments
skencil-1.0.a784.patch (2.33 KB, patch)
2013-03-15 00:10 UTC, nemysis
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description nemysis 2013-03-15 00:10:00 UTC
Makefile changed:
+LICENSE=	LGPL20
+PORTDOCS=	README
+.include <bsd.port.options.mk>

Changed and refined:
 post-install:
 pkg-plist <-- no more PORTDOCS here

- Take maintainership

Generated and tested manually, tested with port test, sent with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)

How-To-Repeat: 
portlint -A
looks usual.

port test: clean
Comment 1 Edwin Groothuis freebsd_committer 2013-03-15 00:10:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->beech

beech@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2013-03-15 03:06:51 UTC
Author: beech
Date: Fri Mar 15 03:06:44 2013
New Revision: 314249
URL: http://svnweb.freebsd.org/changeset/ports/314249

Log:
  - Add OptionsNG
  - Add license
  - Pass maintainership to submitter
  
  PR:		ports/176976
  Submitted by:	nemysis <nemysis@gmx.ch>

Modified:
  head/graphics/skencil/Makefile   (contents, props changed)
  head/graphics/skencil/pkg-plist   (contents, props changed)

Modified: head/graphics/skencil/Makefile
==============================================================================
--- head/graphics/skencil/Makefile	Fri Mar 15 02:59:48 2013	(r314248)
+++ head/graphics/skencil/Makefile	Fri Mar 15 03:06:44 2013	(r314249)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	skencil
-# Date created:		04 November 1998
-# Whom:			Thomas Gellekum <tg@FreeBSD.org>
-#
+# Created by: Thomas Gellekum <tg@FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	skencil
 PORTVERSION=	1.0.a784
@@ -11,8 +7,10 @@ CATEGORIES=	graphics
 MASTER_SITES=	GOOGLE_CODE
 DISTNAME=	${PORTNAME}-${PORTVERSION:S/.a/alpha_rev/}
 
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	An interactive drawing program
+MAINTAINER=	nemysis@gmx.ch
+COMMENT=	Interactive drawing program
+
+LICENSE=	LGPL20
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}imaging>0:${PORTSDIR}/graphics/py-imaging
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}imaging>0:${PORTSDIR}/graphics/py-imaging \
@@ -37,7 +35,9 @@ PYDISTUTILS_EGGINFO=	${PORTNAME}-${PORTV
 CFLAGS+=	-I${TK_INCLUDEDIR} -I${LOCALBASE}/include \
 		-L${LOCALBASE}/lib
 
-.include <bsd.port.pre.mk>
+PORTDOCS=	README
+
+.include <bsd.port.options.mk>
 
 post-patch:
 	 @${REINPLACE_CMD} -e \
@@ -49,9 +49,9 @@ post-patch:
 		 s|/usr/share|${PREFIX}/share|g" ${WRKSRC}/setup.py
 
 post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/graphics/skencil/pkg-plist
==============================================================================
--- head/graphics/skencil/pkg-plist	Fri Mar 15 02:59:48 2013	(r314248)
+++ head/graphics/skencil/pkg-plist	Fri Mar 15 03:06:44 2013	(r314249)
@@ -653,9 +653,9 @@ bin/skencil
 %%PYTHON_SITELIBDIR%%/skencil/__init__.pyc
 %%PYTHON_SITELIBDIR%%/skencil/__init__.pyo
 share/applications/skencil.desktop
-%%PORTDOCS%%%%DOCSDIR%%/README
 share/pixmaps/skencil.png
 share/pixmaps/skencil.xpm
+@dirrmtry share/applications
 @dirrm %%PYTHON_SITELIBDIR%%/skencil/Sketch/UI
 @dirrm %%PYTHON_SITELIBDIR%%/skencil/Sketch/Scripting
 @dirrm %%PYTHON_SITELIBDIR%%/skencil/Sketch/Modules
@@ -697,5 +697,5 @@ share/pixmaps/skencil.xpm
 @dirrm %%PYTHON_SITELIBDIR%%/skencil/Plugins/Filters
 @dirrm %%PYTHON_SITELIBDIR%%/skencil/Plugins
 @dirrm %%PYTHON_SITELIBDIR%%/skencil
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrmtry share/applications
+@dirrmtry %%PYTHON_SITELIBDIR%%
+@dirrmtry %%PYTHON_LIBDIR%%
_______________________________________________
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 Beech Rintoul freebsd_committer 2013-03-15 03:07:05 UTC
State Changed
From-To: open->closed

Committed, Thanks!