svn commit: r357822 - in head/editors/nedit: . files

Vanilla I. Shu vanilla at FreeBSD.org
Sun Jun 15 03:21:02 UTC 2014


Author: vanilla
Date: Sun Jun 15 03:21:01 2014
New Revision: 357822
URL: http://svnweb.freebsd.org/changeset/ports/357822
QAT: https://qat.redports.org/buildarchive/r357822/

Log:
  1: Stagify.
  2: use @owner, @group, @mode.
  
  Approved by:	portmgr@

Modified:
  head/editors/nedit/Makefile
  head/editors/nedit/files/patch-aa
  head/editors/nedit/files/patch-ab
  head/editors/nedit/pkg-plist

Modified: head/editors/nedit/Makefile
==============================================================================
--- head/editors/nedit/Makefile	Sun Jun 15 03:16:16 2014	(r357821)
+++ head/editors/nedit/Makefile	Sun Jun 15 03:21:01 2014	(r357822)
@@ -22,14 +22,12 @@ MAINTAINER=	deischen at FreeBSD.org
 COMMENT=	X11/Motif GUI text editor for programs and plain text files
 LICENSE=	GPLv1
 
-USES=		motif
-USE_BZIP2=	yes
+USES=		motif tar:bzip2
 USE_XORG=	xpm
-MAN1=		nclient.1 nedit.1
 ALL_TARGET=	freebsd
 MAKE_ENV+=	BINOWN=${BINOWN} BINGRP=${BINGRP} BINMODE=${BINMODE}
+PLIST_SUB+=	BINOWN=${BINOWN} BINGRP=${BINGRP} BINMODE=${BINMODE}
 
-NO_STAGE=	yes
 post-extract:
 	${CP} ${DISTDIR}/nedit.app-defaults ${WRKSRC}/NEdit.ad
 

Modified: head/editors/nedit/files/patch-aa
==============================================================================
--- head/editors/nedit/files/patch-aa	Sun Jun 15 03:16:16 2014	(r357821)
+++ head/editors/nedit/files/patch-aa	Sun Jun 15 03:21:01 2014	(r357822)
@@ -1,17 +1,15 @@
-*** Makefile.orig	Wed Jan  5 23:04:45 2000
---- Makefile	Fri Mar 17 06:57:23 2000
-***************
-*** 22,27 ****
---- 22,33 ----
-  	(cd util;   $(MAKE) -f Makefile.$@ libNUtil.a)
-  	(cd source; $(MAKE) -f Makefile.$@ nedit nc)
-  
-+ install::
-+ 	(cd source; make -f Makefile.freebsd install)
-+ 	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 doc/nedit.man ${PREFIX}/man/man1/nedit.1
-+ 	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 doc/nc.man ${PREFIX}/man/man1/nclient.1
-+ 	${INSTALL} ${COPY} -m 644 NEdit.ad ${LOCALBASE}/lib/X11/app-defaults/NEdit.ad
-+ 
-  clean:
-  	(cd util; $(MAKE) -f Makefile.common clean)
-  	(cd source; $(MAKE) -f Makefile.common clean)
+--- Makefile.orig	2004-10-01 04:51:05.000000000 +0800
++++ Makefile	2014-06-15 11:03:09.564113068 +0800
+@@ -44,6 +44,12 @@ docs:
+ # that doesn't work since we require the user to specify the target.  More
+ # thought is needed
+ 
++install::
++	(cd source; make -f Makefile.freebsd install)
++	${INSTALL} ${COPY} -m 644 doc/nedit.man $(DESTDIR)${PREFIX}/man/man1/nedit.1
++	${INSTALL} ${COPY} -m 644 doc/nc.man $(DESTDIR)${PREFIX}/man/man1/nclient.1
++	${INSTALL} ${COPY} -m 644 NEdit.ad $(DESTDIR)${LOCALBASE}/lib/X11/app-defaults/NEdit.ad
++
+ clean:
+ 	(cd util;   $(MAKE) -f Makefile.common clean)
+ 	(cd Xlt;    $(MAKE) -f Makefile.common clean)

Modified: head/editors/nedit/files/patch-ab
==============================================================================
--- head/editors/nedit/files/patch-ab	Sun Jun 15 03:16:16 2014	(r357821)
+++ head/editors/nedit/files/patch-ab	Sun Jun 15 03:21:01 2014	(r357822)
@@ -1,12 +1,12 @@
---- source/Makefile.common.orig	Thu May 15 19:42:31 2003
-+++ source/Makefile.common	Sat Feb  7 14:47:52 2004
-@@ -21,6 +21,10 @@
+--- source/Makefile.common.orig	2004-03-21 22:25:56.000000000 +0800
++++ source/Makefile.common	2014-06-15 11:03:55.335101520 +0800
+@@ -28,6 +28,10 @@ nedit: $(OBJS) ../util/libNUtil.a $(XMLL
  nc: nc.o server_common.o ../util/libNUtil.a
  	$(CC) $(CFLAGS) nc.o server_common.o ../util/libNUtil.a $(LIBS) -o $@
  
 +install: nedit nc
-+	${INSTALL} ${COPY} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} nedit ${PREFIX}/bin
-+	${INSTALL} ${COPY} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} nc ${PREFIX}/bin/nclient
++	${INSTALL} ${COPY} ${STRIP} nedit $(DESTDIR)${PREFIX}/bin
++	${INSTALL} ${COPY} ${STRIP} nc $(DESTDIR)${PREFIX}/bin/nclient
 +
  help.o: help.c
  	$(CC) $(CFLAGS) $(BIGGER_STRINGS) -c help.c -o $@

Modified: head/editors/nedit/pkg-plist
==============================================================================
--- head/editors/nedit/pkg-plist	Sun Jun 15 03:16:16 2014	(r357821)
+++ head/editors/nedit/pkg-plist	Sun Jun 15 03:21:01 2014	(r357822)
@@ -1,3 +1,11 @@
+ at owner %%BINOWN%%
+ at group %%BINGRP%%
+ at mode %%BINMODE%%
 bin/nclient
 bin/nedit
+ at mode
+man/man1/nclient.1.gz
+man/man1/nedit.1.gz
+ at owner
+ at group
 lib/X11/app-defaults/NEdit.ad


More information about the svn-ports-head mailing list