Date: Tue, 9 Mar 2004 19:52:22 -0800 (PST) From: michael johnson <ahze@ahze.net> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/64027: [Maintainer] lang/pnet* -- add PORTDOCS and missing lib for X support. Message-ID: <200403100352.i2A3qM3d045216@www.freebsd.org> Resent-Message-ID: <200403100400.i2A40awM030698@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 64027 >Category: ports >Synopsis: [Maintainer] lang/pnet* -- add PORTDOCS and missing lib for X support. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Mar 09 20:00:35 PST 2004 >Closed-Date: >Last-Modified: >Originator: michael johnson >Release: >Organization: >Environment: >Description: add RUN_DEPENDS= libXext so we can use gui programs add PORTDOCS to pnet-base & pnetlib I chose RUN_DEPENDS instead of LIB_DEPENDS for libXext because it does not need it to build. I did not bump the PORTREVISION on ml-pnet & pnetc because they are unaffected. please close and do not comment pr-63969 >How-To-Repeat: >Fix: diff -ruN lang/pnet.orig/Makefile lang/pnet/Makefile --- lang/pnet.orig/Makefile Tue Mar 9 22:11:55 2004 +++ lang/pnet/Makefile Tue Mar 9 22:36:25 2004 @@ -7,6 +7,7 @@ PORTNAME= pnet PORTVERSION= ${PNET_VERSION} +PORTREVISION= ${PNET_REVISION} CATEGORIES= lang MASTER_SITES= # empty DISTFILES= # empty @@ -20,6 +21,10 @@ csunit:${PORTSDIR}/lang/pnetlib \ sqlsharp-pnet:${PORTSDIR}/lang/ml-pnet \ ${LOCALBASE}/lib/cscc/lib/libc64.dll:${PORTSDIR}/lang/pnetc + +.if !defined(NO_X) +RUN_DEPENDS+= ${X11BASE}/lib/libXext.so.6:${PORTSDIR}/x11/libXext +.endif NO_BUILD= yes diff -ruN lang/pnet.orig/Makefile.pnet lang/pnet/Makefile.pnet --- lang/pnet.orig/Makefile.pnet Tue Mar 9 22:11:55 2004 +++ lang/pnet/Makefile.pnet Tue Mar 9 22:14:12 2004 @@ -1,5 +1,5 @@ PNET_VERSION= 0.6.2 -PNET_REVISION= 0 +PNET_REVISION= 1 PNET_PORTVER= ${PNET_VERSION}.${PNET_REVISION} PNET_PORTREV= 0 PNET_PORTEPOCH= 0 diff -ruN lang/pnet-base.orig/Makefile lang/pnet-base/Makefile --- lang/pnet-base.orig/Makefile Tue Mar 9 22:15:49 2004 +++ lang/pnet-base/Makefile Tue Mar 9 22:22:36 2004 @@ -7,6 +7,7 @@ PORTNAME= pnet PORTVERSION= ${PNET_VERSION} +PORTREVISION= ${PNET_REVISION} CATEGORIES= lang MASTER_SITES= ${PNET_MASTER_SITES} PKGNAMESUFFIX= base @@ -27,6 +28,10 @@ CONFIGURE_ARGS+= --disable-optimizations .endif +DOC_FILES= ChangeLog-1 ChangeLog-2 ChangeLog-3 ChangeLog-4 Doxyfile \ + c_language_abi.html c_users_guide.html embedded.html gtk-sharp.HOWTO \ + l10n.html libgc_changes.txt pinvoke.html pnet_faq.html pnetasm.texi \ + unrolling.txt INFO= pnettools MAN1= clrwrap.1 csant.1 cscc.1 csdoc.1 csdoc2hier.1 csdoc2html.1 \ csdoc2texi.1 cssrc2html.1 ilalink.1 ilasm.1 ildasm.1 ildd.1 \ @@ -35,6 +40,13 @@ .include <bsd.port.pre.mk> +.ifndef(PORTDOCS) +.for plistfile in ${DOC_FILES} +PLIST_FILES+= share/doc/${PORTNAME}/${plistfile} +.endfor +PLIST_DIRS+= share/doc/${PORTNAME} +.endif + post-everything:: .if !defined(WITH_OPTIMIZED_CFLAGS) @${ECHO_MSG} "Define optimized CFLAGS with" @@ -44,6 +56,14 @@ post-patch: @${REINPLACE_CMD} -e 's|`$$CC -print-multi-os-directory 2>/dev/null`|elf|' \ ${WRKSRC}/libffi/configure ${WRKSRC}/libffi/configure.in + +post-install: +.ifndef(PORTDOCS) + @${MKDIR} ${DOCSDIR} +.for docfile in ${DOC_FILES} + @${INSTALL_DATA} ${WRKSRC}/doc/${docfile} ${DOCSDIR} +.endfor +.endif .include "${.CURDIR}/../pnet/Makefile.pnet" .include <bsd.port.post.mk> diff -ruN lang/pnetlib.orig/Makefile lang/pnetlib/Makefile --- lang/pnetlib.orig/Makefile Tue Mar 9 22:23:44 2004 +++ lang/pnetlib/Makefile Tue Mar 9 22:27:40 2004 @@ -7,6 +7,7 @@ PORTNAME= pnetlib PORTVERSION= ${PNET_VERSION} +PORTREVISION= ${PNET_REVISION} CATEGORIES= lang MASTER_SITES= ${PNET_MASTER_SITES} @@ -20,10 +21,28 @@ USE_GMAKE= yes STRIP= # Nothing to be stripped. +DOC_FILES= ChangeLog-1 ChangeLog-2 ChangeLog-3 ChangeLog-4 \ + JScript-embed.txt JScript-internals.txt csunit_howto.html \ + pcf-font-format.txt translating-pnetlib.txt + .include <bsd.port.pre.mk> + +.ifndef(PORTDOCS) +.for plistfile in ${DOC_FILES} +PLIST_FILES+= share/doc/${PORTNAME}/${plistfile} +.endfor +PLIST_DIRS+= share/doc/${PORTNAME} +.endif + post-install: ${STRIP_CMD} ${PREFIX}/lib/cscc/lib/libXsharpSupport.so.0 ${STRIP_CMD} ${PREFIX}/lib/cscc/lib/libXsharpSupport.a +.ifndef(PORTDOCS) + @${MKDIR} ${DOCSDIR} +.for docfile in ${DOC_FILES} + @${INSTALL_DATA} ${WRKSRC}/doc/${docfile} ${DOCSDIR} +.endfor +.endif .include "${.CURDIR}/../pnet/Makefile.pnet" .include <bsd.port.post.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403100352.i2A3qM3d045216>