diff options
author | Beech Rintoul <beech@FreeBSD.org> | 2013-03-11 22:49:21 +0000 |
---|---|---|
committer | Beech Rintoul <beech@FreeBSD.org> | 2013-03-11 22:49:21 +0000 |
commit | 3b065223f85048085336e57dddb6640736476209 (patch) | |
tree | 7b9a4b8e68a0934f292d34bc533ae98556dc405c /graphics/pstoedit | |
parent | 3d171b0ba43fbab52d0ee467a4239822cce5375d (diff) | |
download | ports-3b065223f85048085336e57dddb6640736476209.tar.gz ports-3b065223f85048085336e57dddb6640736476209.zip |
- 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>
Notes
Notes:
svn path=/head/; revision=313944
Diffstat (limited to 'graphics/pstoedit')
-rw-r--r-- | graphics/pstoedit/Makefile | 16 | ||||
-rw-r--r-- | graphics/pstoedit/files/patch-configure | 8 | ||||
-rw-r--r-- | graphics/pstoedit/pkg-descr | 3 | ||||
-rw-r--r-- | graphics/pstoedit/pkg-plist | 2 |
4 files changed, 17 insertions, 12 deletions
diff --git a/graphics/pstoedit/Makefile b/graphics/pstoedit/Makefile index 8f0e24069417..eabad1e12016 100644 --- a/graphics/pstoedit/Makefile +++ b/graphics/pstoedit/Makefile @@ -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} diff --git a/graphics/pstoedit/files/patch-configure b/graphics/pstoedit/files/patch-configure index cea348b94777..4390c08d9abe 100644 --- a/graphics/pstoedit/files/patch-configure +++ b/graphics/pstoedit/files/patch-configure @@ -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> diff --git a/graphics/pstoedit/pkg-descr b/graphics/pstoedit/pkg-descr index 8544a3266712..c7088e458e52 100644 --- a/graphics/pstoedit/pkg-descr +++ b/graphics/pstoedit/pkg-descr @@ -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/ diff --git a/graphics/pstoedit/pkg-plist b/graphics/pstoedit/pkg-plist index 222406956582..4b007338efc0 100644 --- a/graphics/pstoedit/pkg-plist +++ b/graphics/pstoedit/pkg-plist @@ -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 |