opnsense-ports/editors/nedit/files/patch-source_Makefile.common
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

13 lines
526 B
Text

--- 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} nedit $(DESTDIR)${PREFIX}/bin
+ ${INSTALL} ${COPY} ${STRIP} nc $(DESTDIR)${PREFIX}/bin/nclient
+
help.o: help.c
$(CC) $(CFLAGS) $(BIGGER_STRINGS) -c help.c -o $@