1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Revert the last commit and make nedit use INSTALL_PROGRAM,MAN,DATA.

PR:		41687
Submitted by:	James E. Flemer <jflemer@acm.jhu.edu
This commit is contained in:
Daniel Eischen 2002-08-21 15:37:24 +00:00
parent 10f5251cfe
commit 50a694b761
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=64758
3 changed files with 5 additions and 6 deletions

View File

@ -23,7 +23,6 @@ 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

View File

@ -8,9 +8,9 @@
+ 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 ${X11BASE}/lib/X11/app-defaults/NEdit.ad
+ ${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
+
clean:
(cd util; $(MAKE) -f Makefile.common clean)

View File

@ -5,8 +5,8 @@
$(CC) $(CFLAGS) nc.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_PROGRAM} nedit ${PREFIX}/bin
+ ${INSTALL_PROGRAM} nc ${PREFIX}/bin/nclient
+
help.o: help.c
$(CC) $(CFLAGS) $(BIGGER_STRINGS) -c help.c -o $@