Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jan 2014 08:41:45 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r341341 - head/devel/xwpe
Message-ID:  <201401270841.s0R8fjq3007225@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Mon Jan 27 08:41:45 2014
New Revision: 341341
URL: http://svnweb.freebsd.org/changeset/ports/341341
QAT: https://qat.redports.org/buildarchive/r341341/

Log:
  Support stage
  
  This port was using DESTDIR for a non standard purpose, to use STAGEDIR for
  the DESTDIRNAME, use desthack to make the configure stagedir aware

Modified:
  head/devel/xwpe/Makefile
  head/devel/xwpe/pkg-plist

Modified: head/devel/xwpe/Makefile
==============================================================================
--- head/devel/xwpe/Makefile	Mon Jan 27 08:32:08 2014	(r341340)
+++ head/devel/xwpe/Makefile	Mon Jan 27 08:41:45 2014	(r341341)
@@ -10,20 +10,15 @@ MASTER_SITES=	${MASTER_SITE_SUNSITE} \
 MASTER_SITE_SUBDIR=	apps/editors/X
 
 MAINTAINER=	gahr@FreeBSD.org
-COMMENT=	A Borland-like IDE programming environment
+COMMENT=	Borland-like IDE programming environment
 
-USE_GMAKE=	yes
+USES=		desthack gmake
+DESTDIRNAME=	STAGEDIR
 USE_XORG=	sm ice x11
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--libdir=${PREFIX}/share
+CONFIGURE_ARGS=	--libdir=\$${STAGEDIR}${PREFIX}/share
 ALL_TARGET=	# none
 
-MAN1=		xwpe.1
-MLINKS=		xwpe.1 xwe.1 \
-		xwpe.1 wpe.1 \
-		xwpe.1 we.1
-
-NO_STAGE=	yes
 post-patch:
 .for file in we_prog.c we_fl_unix.c
 	@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g ; \

Modified: head/devel/xwpe/pkg-plist
==============================================================================
--- head/devel/xwpe/pkg-plist	Mon Jan 27 08:32:08 2014	(r341340)
+++ head/devel/xwpe/pkg-plist	Mon Jan 27 08:41:45 2014	(r341341)
@@ -2,6 +2,10 @@ bin/we
 bin/wpe
 bin/xwe
 bin/xwpe
+man/man1/we.1.gz
+man/man1/wpe.1.gz
+man/man1/xwe.1.gz
+man/man1/xwpe.1.gz
 %%DATADIR%%/help.key
 %%DATADIR%%/help.xwpe
 %%DATADIR%%/syntax_def



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