From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Sep 7 18:51:26 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 83D9316A56C for ; Thu, 7 Sep 2006 18:51:26 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA70043E3E for ; Thu, 7 Sep 2006 18:50:14 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k87IoEHZ058257 for ; Thu, 7 Sep 2006 18:50:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k87IoEJV058256; Thu, 7 Sep 2006 18:50:14 GMT (envelope-from gnats) Resent-Date: Thu, 7 Sep 2006 18:50:14 GMT Resent-Message-Id: <200609071850.k87IoEJV058256@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Marcus von Appen Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 463D016A595 for ; Thu, 7 Sep 2006 18:43:25 +0000 (UTC) (envelope-from mail@sysfault.org) Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [80.67.18.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C01643DAD for ; Thu, 7 Sep 2006 18:41:36 +0000 (GMT) (envelope-from mail@sysfault.org) Received: (qmail 16148 invoked from network); 7 Sep 2006 18:41:28 -0000 Received: from unknown (HELO medusa.sysfault.org) (936934@[89.182.91.185]) (envelope-sender ) by smtprelay01.ispgateway.de (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 7 Sep 2006 18:41:28 -0000 Received: from localhost ([127.0.0.1] helo=medusa.sysfault.org) by medusa.sysfault.org with esmtp (Exim 4.63 (FreeBSD)) (envelope-from ) id 1GLOrQ-000FTQ-Iu for FreeBSD-gnats-submit@freebsd.org; Thu, 07 Sep 2006 20:44:25 +0200 Received: (from marcus@localhost) by medusa.sysfault.org (8.13.1/8.13.1/Submit) id k87IiOJi059483; Thu, 7 Sep 2006 20:44:24 +0200 (CEST) (envelope-from marcus) Message-Id: <200609071844.k87IiOJi059483@medusa.sysfault.org> Date: Thu, 7 Sep 2006 20:44:24 +0200 (CEST) From: Marcus von Appen To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/102991: [Maintainer-update]: print/pslib manual pages and example additions X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marcus von Appen List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2006 18:51:26 -0000 >Number: 102991 >Category: ports >Synopsis: [Maintainer-update]: print/pslib manual pages and example additions >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: Thu Sep 07 18:50:14 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Marcus von Appen >Release: FreeBSD 6.1-STABLE i386 >Organization: >Environment: System: FreeBSD medusa.sysfault.org 6.1-STABLE FreeBSD 6.1-STABLE #12: Tue Aug 29 19:10:11 CEST 2006 root@medusa.sysfault.org:/usr/obj/usr/src/sys/MEDUSA i386 >Description: - Optional examples and manpages can be installed on demand now. - portlint fixes. I'll take over maintainership for this port. Note to committer: The new file files/man3 must be added. >How-To-Repeat: >Fix: diff -Nur pslib/Makefile pslib.new/Makefile --- pslib/Makefile Tue Aug 15 02:56:23 2006 +++ pslib.new/Makefile Thu Sep 7 20:28:46 2006 @@ -8,12 +8,11 @@ PORTNAME= pslib PORTVERSION= 0.2.7 -PORTREVISION= 0 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= mva@sysfault.org COMMENT= A C-library for generating multi page PostScript documents LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ @@ -24,12 +23,33 @@ USE_GMAKE= yes USE_AUTOTOOLS= libtool:15 CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib" \ - ac_cv_prog_DOC_TO_MAN="" + LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS= --mandir=${MANPREFIX}/man USE_LDCONFIG= yes +OPTIONS= EXAMPLES "Install additional examples" On \ + MAN "Install manual pages" On \ + NLS "Native language support" On + .include +.if defined(WITH_EXAMPLES) +EX_NAME= pslib-examples-0.0.8 +EX_WRKSRC= ${WRKDIR}/${EX_NAME} +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${EX_NAME}${EXTRACT_SUFX} +PLIST_SUB+= EXAMPLES="" +.else +PLIST_SUB+= EXAMPLES="@comment " +.endif + +.if defined(WITH_MAN) +BUILD_DEPENDS+= ${LOCALBASE}/bin/docbook-to-man:${PORTSDIR}/textproc/docbook-to-man +MAN3!= ${CAT} ${FILESDIR}/man3 +.else +# Avoid building the manpages. +CONFIGURE_ENV+= ac_cv_prog_DOC_TO_MAN="" +.endif + .if defined(WITHOUT_NLS) CONFIGURE_ENV+= ac_cv_header_libintl_h=no PLIST_SUB+= NLS="@comment " @@ -41,6 +61,13 @@ post-patch: .if defined(WITHOUT_NLS) @${REINPLACE_CMD} -e 's|@USE_NLS@|no|g' ${WRKSRC}/po/Makefile.in.in +.endif + +post-install: +.if defined(WITH_EXAMPLES) + ${MKDIR} -m 0755 ${EXAMPLESDIR} + @${RM} -f ${EX_WRKSRC}/Makefile ${EX_WRKSRC}/ChangeLog + cd ${EX_WRKSRC} && ${PAX} -rw * ${EXAMPLESDIR} .endif .include diff -Nur pslib/distinfo pslib.new/distinfo --- pslib/distinfo Mon Jun 12 03:43:27 2006 +++ pslib.new/distinfo Thu Sep 7 11:09:45 2006 @@ -1,3 +1,6 @@ MD5 (pslib-0.2.7.tar.gz) = 17a6a461276fd4eb3fd12ced926aeee1 SHA256 (pslib-0.2.7.tar.gz) = 653ec4b1685500d3eb86dc89093854e1928f040b457556365bd52a31dda9a84d SIZE (pslib-0.2.7.tar.gz) = 510671 +MD5 (pslib-examples-0.0.8.tar.gz) = ef7ea1c869047b9510fb1ea55cfa9e76 +SHA256 (pslib-examples-0.0.8.tar.gz) = cfab81f3639e2863e92c226ba6b6a06b0c482afc524d041bcb1df4cbe74f8ebd +SIZE (pslib-examples-0.0.8.tar.gz) = 175792 diff -Nur pslib/files/man3 pslib.new/files/man3 --- pslib/files/man3 Thu Jan 1 01:00:00 1970 +++ pslib.new/files/man3 Thu Sep 7 20:05:28 2006 @@ -0,0 +1,93 @@ +PS_add_bookmark.3 +PS_add_launchlink.3 +PS_add_locallink.3 +PS_add_note.3 +PS_add_pdflink.3 +PS_add_weblink.3 +PS_arc.3 +PS_arcn.3 +PS_begin_page.3 +PS_begin_pattern.3 +PS_begin_template.3 +PS_boot.3 +PS_circle.3 +PS_clip.3 +PS_close.3 +PS_close_image.3 +PS_closepath.3 +PS_closepath_stroke.3 +PS_continue_text.3 +PS_continue_text2.3 +PS_create_gstate.3 +PS_curveto.3 +PS_delete.3 +PS_end_page.3 +PS_end_pattern.3 +PS_end_template.3 +PS_fill.3 +PS_fill_stroke.3 +PS_findfont.3 +PS_get_buffer.3 +PS_get_majorversion.3 +PS_get_minorversion.3 +PS_get_opaque.3 +PS_get_parameter.3 +PS_get_subminorversion.3 +PS_get_value.3 +PS_hyphenate.3 +PS_include_file.3 +PS_lineto.3 +PS_list_parameters.3 +PS_list_resources.3 +PS_list_values.3 +PS_makespotcolor.3 +PS_moveto.3 +PS_new.3 +PS_new2.3 +PS_open_file.3 +PS_open_fp.3 +PS_open_image.3 +PS_open_image_file.3 +PS_open_mem.3 +PS_place_image.3 +PS_rect.3 +PS_restore.3 +PS_rotate.3 +PS_save.3 +PS_scale.3 +PS_set_border_color.3 +PS_set_border_dash.3 +PS_set_border_style.3 +PS_set_gstate.3 +PS_set_info.3 +PS_set_parameter.3 +PS_set_text_pos.3 +PS_set_value.3 +PS_setcolor.3 +PS_setdash.3 +PS_setflat.3 +PS_setfont.3 +PS_setgray.3 +PS_setlinecap.3 +PS_setlinejoin.3 +PS_setlinewidth.3 +PS_setmiterlimit.3 +PS_setpolydash.3 +PS_shading.3 +PS_shading_pattern.3 +PS_shfill.3 +PS_show.3 +PS_show2.3 +PS_show_boxed.3 +PS_show_xy.3 +PS_show_xy2.3 +PS_shutdown.3 +PS_string_geometry.3 +PS_stringwidth.3 +PS_stringwidth2.3 +PS_stroke.3 +PS_symbol.3 +PS_symbol_name.3 +PS_symbol_width.3 +PS_translate.3 +pslib.3 diff -Nur pslib/pkg-plist pslib.new/pkg-plist --- pslib/pkg-plist Thu Feb 23 11:38:47 2006 +++ pslib.new/pkg-plist Thu Sep 7 20:24:42 2006 @@ -1,4 +1,3 @@ -@comment $FreeBSD: ports/print/pslib/pkg-plist,v 1.5 2006/02/23 10:38:47 ade Exp $ include/libps/pslib-mp.h include/libps/pslib.h include/libps/psversion.h @@ -11,5 +10,40 @@ %%DATADIR%%/draft.ps %%DATADIR%%/exectime.ps %%DATADIR%%/grid.ps +%%EXAMPLES%%%%EXAMPLESDIR%%/AlteSchwabacher.afm +%%EXAMPLES%%%%EXAMPLESDIR%%/AlteSchwabacher.enc +%%EXAMPLES%%%%EXAMPLESDIR%%/AlteSchwabacher.pfb +%%EXAMPLES%%%%EXAMPLESDIR%%/Courier.afm +%%EXAMPLES%%%%EXAMPLESDIR%%/Helvetica.afm +%%EXAMPLES%%%%EXAMPLESDIR%%/Helvetica.pro +%%EXAMPLES%%%%EXAMPLESDIR%%/README +%%EXAMPLES%%%%EXAMPLESDIR%%/cork.enc +%%EXAMPLES%%%%EXAMPLESDIR%%/debian.png +%%EXAMPLES%%%%EXAMPLESDIR%%/dice.afm +%%EXAMPLES%%%%EXAMPLESDIR%%/dice.pfb +%%EXAMPLES%%%%EXAMPLESDIR%%/draw.c +%%EXAMPLES%%%%EXAMPLESDIR%%/einstein.c +%%EXAMPLES%%%%EXAMPLESDIR%%/einstein.txt +%%EXAMPLES%%%%EXAMPLESDIR%%/fontsample.c +%%EXAMPLES%%%%EXAMPLESDIR%%/hyperlinks.c +%%EXAMPLES%%%%EXAMPLESDIR%%/hyph_de.dic +%%EXAMPLES%%%%EXAMPLESDIR%%/hyph_en.dic +%%EXAMPLES%%%%EXAMPLESDIR%%/hyphenate.c +%%EXAMPLES%%%%EXAMPLESDIR%%/image.c +%%EXAMPLES%%%%EXAMPLESDIR%%/indexed-alpha.png +%%EXAMPLES%%%%EXAMPLESDIR%%/indexed.png +%%EXAMPLES%%%%EXAMPLESDIR%%/ligatures.c +%%EXAMPLES%%%%EXAMPLESDIR%%/memory.c +%%EXAMPLES%%%%EXAMPLESDIR%%/mmk.c +%%EXAMPLES%%%%EXAMPLESDIR%%/overprint.c +%%EXAMPLES%%%%EXAMPLESDIR%%/pagehook.c +%%EXAMPLES%%%%EXAMPLESDIR%%/picture.eps +%%EXAMPLES%%%%EXAMPLESDIR%%/psclock.c +%%EXAMPLES%%%%EXAMPLESDIR%%/rgb-alpha.png +%%EXAMPLES%%%%EXAMPLESDIR%%/rgb.png +%%EXAMPLES%%%%EXAMPLESDIR%%/shading.c +%%EXAMPLES%%%%EXAMPLESDIR%%/spotcolor.c +%%EXAMPLES%%%%EXAMPLESDIR%%/txt2ps.c +%%EXAMPLES%%@dirrm %%EXAMPLESDIR%% @dirrm %%DATADIR%% @dirrm include/libps >Release-Note: >Audit-Trail: >Unformatted: