aboutsummaryrefslogtreecommitdiffstats
path: root/editors/nedit
diff options
context:
space:
mode:
Diffstat (limited to 'editors/nedit')
-rw-r--r--editors/nedit/Makefile1
-rw-r--r--editors/nedit/files/patch-aa6
-rw-r--r--editors/nedit/files/patch-ab4
3 files changed, 6 insertions, 5 deletions
diff --git a/editors/nedit/Makefile b/editors/nedit/Makefile
index 2e5cac8f7f4..a563650d432 100644
--- a/editors/nedit/Makefile
+++ b/editors/nedit/Makefile
@@ -23,6 +23,7 @@ USE_X_PREFIX= yes
USE_XPM= yes
MAN1= nclient.1 nedit.1
ALL_TARGET= freebsd
+MAKE_ENV+= BINOWN=${BINOWN} BINGRP=${BINGRP} BINMODE=${BINMODE}
post-extract:
${CP} ${DISTDIR}/nedit.app-defaults ${WRKSRC}/NEdit.ad
diff --git a/editors/nedit/files/patch-aa b/editors/nedit/files/patch-aa
index a82fba3bcf9..8b0d0863d57 100644
--- a/editors/nedit/files/patch-aa
+++ b/editors/nedit/files/patch-aa
@@ -8,9 +8,9 @@
+ install::
+ (cd source; make -f Makefile.freebsd install)
-+ ${INSTALL_MAN} doc/nedit.man ${PREFIX}/man/man1/nedit.1
-+ ${INSTALL_MAN} doc/nc.man ${PREFIX}/man/man1/nclient.1
-+ ${INSTALL_DATA} NEdit.ad ${X11BASE}/lib/X11/app-defaults/NEdit.ad
++ ${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 ${X11BASE}/lib/X11/app-defaults/NEdit.ad
+
clean:
(cd util; $(MAKE) -f Makefile.common clean)
diff --git a/editors/nedit/files/patch-ab b/editors/nedit/files/patch-ab
index 9fef26b4d38..d106e7895b7 100644
--- a/editors/nedit/files/patch-ab
+++ b/editors/nedit/files/patch-ab
@@ -5,8 +5,8 @@
$(CC) $(CFLAGS) nc.o ../util/libNUtil.a $(LIBS) -o $@
+install: nedit nc
-+ ${INSTALL_PROGRAM} nedit ${PREFIX}/bin
-+ ${INSTALL_PROGRAM} nc ${PREFIX}/bin/nclient
++ ${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
+
help.o: help.c
$(CC) $(CFLAGS) $(BIGGER_STRINGS) -c help.c -o $@