svn commit: r380476 - in head/editors/xed: . files

Dmitry Marakasov amdmi3 at FreeBSD.org
Thu Mar 5 04:29:57 UTC 2015


Author: amdmi3
Date: Thu Mar  5 04:29:56 2015
New Revision: 380476
URL: https://svnweb.freebsd.org/changeset/ports/380476
QAT: https://qat.redports.org/buildarchive/r380476/

Log:
  - Simplify MASTER_SITES
  - Add LICENSE
  - Fix references to STAGEDIR
  
  MFH:		2015Q1

Added:
  head/editors/xed/files/
  head/editors/xed/files/patch-Imakefile   (contents, props changed)
Modified:
  head/editors/xed/Makefile

Modified: head/editors/xed/Makefile
==============================================================================
--- head/editors/xed/Makefile	Thu Mar  5 04:12:57 2015	(r380475)
+++ head/editors/xed/Makefile	Thu Mar  5 04:29:56 2015	(r380476)
@@ -3,19 +3,24 @@
 
 PORTNAME=	xed
 PORTVERSION=	1.3
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	editors
-MASTER_SITES=	${MASTER_SITE_XCONTRIB}
-MASTER_SITE_SUBDIR=	editors
+MASTER_SITES=	XCONTRIB/editors
 DISTNAME=	${PORTNAME}${PORTVERSION}
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Text editor for X
 
+LICENSE=	MIT
+
 USES=		imake tar:Z
 USE_XORG=	xaw
+MAKE_ARGS=	BINDIR=${PREFIX}/bin \
+		LIBDIR=${PREFIX}/lib/X11 \
+		MANPATH=${PREFIX}/man
 
 pre-build:
 	@${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e \
 		's|extern char \*malloc();|/\* extern char \*malloc(); \*/|g'
+
 .include <bsd.port.mk>

Added: head/editors/xed/files/patch-Imakefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/editors/xed/files/patch-Imakefile	Thu Mar  5 04:29:56 2015	(r380476)
@@ -0,0 +1,19 @@
+--- Imakefile.orig	2015-03-05 04:17:04.000000000 +0300
++++ Imakefile	2015-03-05 04:18:12.000000000 +0300
+@@ -1,4 +1,4 @@
+-       DEFINES = -DHELPFILE=\"$(DESTDIR)${LIBDIR}/xed/xed.help\" 
++       DEFINES = -DHELPFILE=\"${LIBDIR}/xed/xed.help\" 
+ 
+ XCOMM Please check for some aditional DEFINES
+ XCOMM -DSCROLLBREAK -DUSEGETCWD -DNORENAME -DUSEDIRENT -DUSE_CSH_SYSTEM
+@@ -30,8 +30,8 @@
+ 			
+ xed.help:   helpfile
+ 	$(RM) $@
+-	cat helpfile | sed "s@<XEDCOMMANDFILE>@$(DESTDIR)$(LIBDIR)/xed/xed.commands at g" | \
+-	sed "s@<XEDRESOURCEFILE>@$(DESTDIR)$(XAPPLOADDIR)/Xed at g" > xed.help
++	cat helpfile | sed "s@<XEDCOMMANDFILE>@$(LIBDIR)/xed/xed.commands at g" | \
++	sed "s@<XEDRESOURCEFILE>@$(XAPPLOADDIR)/Xed at g" > xed.help
+ 	
+ 
+ InstallNonExecFile(xed.help,$(LIBDIR)/xed)


More information about the svn-ports-head mailing list