Skip to content
Permalink
Browse files

Patch submitted by Toby Peterson

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@4183 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Matt Anton
Matt Anton committed Dec 10, 2003
1 parent edc7f20 commit cd6e2ded74f19bf34dcd52a2b8f55ba601ca1fbe
Showing with 44 additions and 0 deletions.
  1. +13 −0 editors/nedit/files/patch-Makefile
  2. +31 −0 editors/nedit/files/patch-Makefile.macosx
@@ -0,0 +1,13 @@
--- Makefile-orig Wed Dec 10 09:15:31 2003
+++ Makefile Wed Dec 10 10:01:28 2003
@@ -61,3 +61,9 @@
-gzip -9 -c $(RELEASE).tar > $(RELEASE).tar.gz
-bzip2 -9 -c $(RELEASE).tar > $(RELEASE).tar.bz2
rm -rf $(RELEASE) $(RELEASE).tar
+
+install: $(BINDIST-FILES)
+ install -c -m 755 -s source/nedit $(prefix)/bin/nedit
+ install -c -m 644 doc/nedit.man $(prefix)/share/man/man1/nedit.1
+ install -c -m 755 -s source/nc $(prefix)/bin/nedit-nc
+ install -c -m 644 doc/nc.man $(prefix)/share/man/man1/nedit-nc.1

@@ -0,0 +1,31 @@
--- makefiles/Makefile.macosx-orig Wed Dec 10 08:52:54 2003
+++ makefiles/Makefile.macosx Wed Dec 10 09:05:58 2003
@@ -8,7 +8,7 @@
# Change this line to point at the location your Motif libraries/headers are
# installed. (e.g. /usr/local or /sw) Use "locate libXm." to find the
# libraries, then remove the /lib suffix.
-MOTIFDIR=/usr/local
+MOTIFDIR=/usr/X11R6

# Use the first line if you're using OpenMotif, use the second if you're using
# LessTif from Fink.
@@ -18,8 +18,8 @@
# Use the first line to link to Motif statically (highly recommended) or the
# second line to link dynamically. With Fink you'll probably have to use
# dynamic linking, since they don't normally distribute the static libraries.
-MOTIFLINK=${MOTIFDIR}/lib/libXm.a
-#MOTIFLINK=-L${MOTIFDIR}/lib -lXm.2
+#MOTIFLINK=${MOTIFDIR}/lib/libXm.a
+MOTIFLINK=-L${MOTIFDIR}/lib -lXm.2


############### You shouldn't need to edit anything below here ##############
@@ -36,7 +36,7 @@
# add -DHAVE__XMVERSIONSTRING to CFLAGS
#
CFLAGS=-O -no-cpp-precomp -DNO_XMIM -I/usr/X11R6/include -I${MOTIFDIR}/include -DUSE_DIRENT \
- -DUSE_LPR_PRINT_CMD
+ -DUSE_LPR_PRINT_CMD -DBUILD_UNTESTED_NEDIT
LIBS= ${EXTRALINKFLAGS} -L/usr/X11R6/lib ${MOTIFLINK} -lXp \
-lXpm -lXext -lXt -lSM -lICE -lX11

0 comments on commit cd6e2de

Please sign in to comment.
You can’t perform that action at this time.