aboutsummaryrefslogtreecommitdiffstats
path: root/editors/nedit
diff options
context:
space:
mode:
authordeischen <deischen@FreeBSD.org>2002-08-24 04:03:18 +0800
committerdeischen <deischen@FreeBSD.org>2002-08-24 04:03:18 +0800
commita110a6f6ad28f93da0402f3ad3b9fd1de95a8188 (patch)
tree1eb83f926c32c1c2b8b0cb007195bfffd4453b38 /editors/nedit
parentc24035c46f833ee62d92370fbd5456257092d2c4 (diff)
downloadfreebsd-ports-graphics-a110a6f6ad28f93da0402f3ad3b9fd1de95a8188.tar.gz
freebsd-ports-graphics-a110a6f6ad28f93da0402f3ad3b9fd1de95a8188.tar.zst
freebsd-ports-graphics-a110a6f6ad28f93da0402f3ad3b9fd1de95a8188.zip
Go back to kan's fix and set BINOWN, BINGRP, BINMODE in MAKE_ENV.
Trying to use INSTALL_{PROGRAM,DATA,MAN} just doesn't seem to work for nested makes. I give up trying to make it work.
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 $@