Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jan 2014 13:30:22 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r341735 - head/lang/pnetlib
Message-ID:  <201401291330.s0TDUMNf062168@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Wed Jan 29 13:30:22 2014
New Revision: 341735
URL: http://svnweb.freebsd.org/changeset/ports/341735
QAT: https://qat.redports.org/buildarchive/r341735/

Log:
  Stagify, remove check for alpha (long unsupported), convert to OptionsNG,
  drop seemingly unused USE_GMAKE, and generally cleanup the port while here.

Modified:
  head/lang/pnetlib/Makefile

Modified: head/lang/pnetlib/Makefile
==============================================================================
--- head/lang/pnetlib/Makefile	Wed Jan 29 13:22:44 2014	(r341734)
+++ head/lang/pnetlib/Makefile	Wed Jan 29 13:30:22 2014	(r341735)
@@ -14,37 +14,25 @@ COMMENT=	C\# system library for pnet
 BUILD_DEPENDS=	cscc:${PORTSDIR}/lang/pnet-base \
 		treecc:${PORTSDIR}/lang/treecc
 
-.if !defined(WITHOUT_X11)
-USE_XLIB=	yes
-.endif
-
 GNU_CONFIGURE=	yes
 USE_AUTOTOOLS=	libtool
-USE_GMAKE=	yes
 USE_LDCONFIG=	yes
 
 PORTDOCS=	ChangeLog-1 ChangeLog-2 ChangeLog-3 ChangeLog-4 \
-	JScript-embed.txt JScript-internals.txt csunit_howto.html \
-	pcf-font-format.txt translating-pnetlib.txt
-
-NO_STAGE=	yes
-.include "${.CURDIR}/../pnet/Makefile.pnet"
-.include <bsd.port.pre.mk>
+		JScript-embed.txt JScript-internals.txt csunit_howto.html \
+		pcf-font-format.txt translating-pnetlib.txt
 
-.if ${ARCH} == "alpha"
-IGNORE=		coredump during build on alpha
-.endif
+OPTIONS_DEFINE=	X11
+OPTIONS_DEFAULT=	X11
+X11_USE=	XORG=x11
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
-		${WRKSRC}/configure
+	@${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} \
+		$$ac_aux_dir|$$ac_aux_dir|' ${WRKSRC}/configure
 
 post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-.for docfile in ${PORTDOCS}
-	@${INSTALL_DATA} ${WRKSRC}/doc/${docfile} ${DOCSDIR}
-.endfor
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR}
 
-.include <bsd.port.post.mk>
+.include "${.CURDIR}/../pnet/Makefile.pnet"
+.include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401291330.s0TDUMNf062168>