Bug 176824 - [PATCH] graphics/pstoedit: Port is now safe with NOPORTDOCS=yes, new patch, take maintainership
Summary: [PATCH] graphics/pstoedit: Port is now safe with NOPORTDOCS=yes, new patch, t...
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-11 00:20 UTC by nemysis
Modified: 2013-03-11 23:00 UTC (History)
0 users

See Also:


Attachments
pstoedit-3.61_2.patch (2.76 KB, patch)
2013-03-11 00:20 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-11 00:20:01 UTC
Makefile changed:

Port is now safe with NOPORTDOCS=yes in /etc/make.conf
+.if ${PORT_OPTIONS:MDOCS}
+PLIST_SUB+=	PORTDOCS=""
+.else
+PLIST_SUB+=	PORTDOCS="@comment "
+.endif

+	${INSTALL_MAN} ${WRKSRC}/doc/${MAN1} ${MAN1PREFIX}/man/man1/

Changed and refined:
 files/patch-configure
 pkg-descr
 pkg-plist

- 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 fine.

port test: clean
Comment 1 Beech Rintoul freebsd_committer freebsd_triage 2013-03-11 01:13:43 UTC
Responsible Changed
From-To: freebsd-ports-bugs->beech

I'll take it
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-03-11 22:49:34 UTC
Author: beech
Date: Mon Mar 11 22:49:21 2013
New Revision: 313944
URL: http://svnweb.freebsd.org/changeset/ports/313944

Log:
  - Fix NOPORTDOCS=yes in /etc/make.conf
    .if ${PORT_OPTIONS:MDOCS}
    PLIST_SUB+= PORTDOCS=""
    .else
    PLIST_SUB+= PORTDOCS="@comment "
    .endif
    ${INSTALL_MAN} ${WRKSRC}/doc/${MAN1} ${MAN1PREFIX}/man/man1/
  - Pass maintainership to submitter
  
  PR:		ports/176824
  Submitted by:	nemysis <nemysis@gmx.ch>

Modified:
  head/graphics/pstoedit/Makefile   (contents, props changed)
  head/graphics/pstoedit/files/patch-configure   (contents, props changed)
  head/graphics/pstoedit/pkg-descr   (contents, props changed)
  head/graphics/pstoedit/pkg-plist   (contents, props changed)

Modified: head/graphics/pstoedit/Makefile
==============================================================================
--- head/graphics/pstoedit/Makefile	Mon Mar 11 22:16:46 2013	(r313943)
+++ head/graphics/pstoedit/Makefile	Mon Mar 11 22:49:21 2013	(r313944)
@@ -3,14 +3,14 @@
 
 PORTNAME=	pstoedit
 PORTVERSION=	3.61
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	graphics print
 MASTER_SITES=	SF
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	nemysis@gmx.ch
 COMMENT=	Convert PostScript to other vector graphic formats
 
-LICENSE=	GPLv2 # (or later)
+LICENSE=	GPLv2
 
 LIB_DEPENDS=	gd:${PORTSDIR}/graphics/gd
 
@@ -34,6 +34,12 @@ MAN1=		pstoedit.1
 
 .include <bsd.port.options.mk>
 
+.if ${PORT_OPTIONS:MDOCS}
+PLIST_SUB+=	PORTDOCS=""
+.else
+PLIST_SUB+=	PORTDOCS="@comment "
+.endif
+
 .if ${PORT_OPTIONS:MMAGICK}
 LIB_DEPENDS+=	Magick++:${PORTSDIR}/graphics/ImageMagick
 PLIST_SUB+=	IMAGEMAGICK=""
@@ -75,11 +81,13 @@ post-patch:
 	@${REINPLACE_CMD} -e 's|-ldl||g' ${WRKSRC}/src/Makefile.in
 
 post-install:
-	${INSTALL_MAN} ${WRKSRC}/doc/pstoedit.1 ${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/doc/${MAN1} ${MAN1PREFIX}/man/man1/
+
 .if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/doc/*.htm ${DOCSDIR}
 .endif
+
 .if ${PORT_OPTIONS:MEXAMPLES}
 	@${MKDIR} ${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/examples/*.ps ${EXAMPLESDIR}

Modified: head/graphics/pstoedit/files/patch-configure
==============================================================================
--- head/graphics/pstoedit/files/patch-configure	Mon Mar 11 22:16:46 2013	(r313943)
+++ head/graphics/pstoedit/files/patch-configure	Mon Mar 11 22:49:21 2013	(r313944)
@@ -1,7 +1,7 @@
---- configure.orig	Sat Mar 11 07:38:16 2006
-+++ configure	Sun Mar 26 18:50:43 2006
-@@ -21280,6 +21280,7 @@
- cat >>conftest.$ac_ext <<_ACEOF
+--- configure.orig	2012-08-28 12:49:37.000000000 +0200
++++ configure	2013-03-11 00:33:46.000000000 +0100
+@@ -16274,6 +16274,7 @@
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  /* end confdefs.h.  */
  #include <stdlib.h>
 +#include <unistd.h>

Modified: head/graphics/pstoedit/pkg-descr
==============================================================================
--- head/graphics/pstoedit/pkg-descr	Mon Mar 11 22:16:46 2013	(r313943)
+++ head/graphics/pstoedit/pkg-descr	Mon Mar 11 22:49:21 2013	(r313944)
@@ -1,7 +1,4 @@
 pstoedit converts Postscript(TM) and PDF files to other vector graphic
 formats so that they can be edited graphically.
 
-Copyright (C) 1993 - 2005
-Wolfgang Glunz, wglunz34_AT_pstoedit.net
-
 WWW: http://www.pstoedit.net/

Modified: head/graphics/pstoedit/pkg-plist
==============================================================================
--- head/graphics/pstoedit/pkg-plist	Mon Mar 11 22:16:46 2013	(r313943)
+++ head/graphics/pstoedit/pkg-plist	Mon Mar 11 22:49:21 2013	(r313944)
@@ -70,7 +70,7 @@ share/aclocal/pstoedit.m4
 %%DATADIR%%/wemf.fmp
 @dirrm %%DATADIR%%/swffonts
 @dirrm %%DATADIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
 %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
 @dirrm lib/pstoedit
 @dirrm include/pstoedit
_______________________________________________
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 freebsd_triage 2013-03-11 22:49:51 UTC
State Changed
From-To: open->closed

Committed, Thanks!