1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/games/xevil/files/patch-makefile

31 lines
1.0 KiB
Plaintext

--- makefile.orig 2012-05-27 06:39:04.000000000 +0900
+++ makefile 2012-05-27 06:42:04.000000000 +0900
@@ -42,9 +42,9 @@
$(OBJ_DIR)/ui_cmn.o $(OBJ_DIR)/l_agreement_dlg.o $(OBJ_DIR)/viewport.o
-xevil: $(OBJ_DIR)/xevil $(OBJ_DIR)/xevil$(VERSION).$(PCKG_NAME).tar.Z
+#xevil: $(OBJ_DIR)/xevil $(OBJ_DIR)/xevil$(VERSION).$(PCKG_NAME).tar.Z
#xevil: $(OBJ_DIR)/xevil$(VERSION).$(PCKG_NAME).tar.Z
-#xevil: $(OBJ_DIR)/xevil
+xevil: $(OBJ_DIR)/xevil
# Build the xevil executable.
@@ -59,15 +59,9 @@
cd $(DEPTH)/cmn; $(MAKE)
cd $(DEPTH)/x11; $(MAKE)
$(CC) $(LINK_FLAGS) $(LINK_OPT) $(LIBS_DIRS) -o $(OBJ_DIR)/xevil $(ALL_OBJS) $(LIBS)
- $(STRIP) $(OBJ_DIR)/xevil
# Could also include serverping in the distribution
$(OBJ_DIR)/xevil$(VERSION).$(PCKG_NAME).tar.Z::
- cp readme.txt $(OBJ_DIR)
- cp gpl.txt $(OBJ_DIR)
- cp -r instructions $(OBJ_DIR)
- (cd $(OBJ_DIR); tar cf xevil$(VERSION).$(PCKG_NAME).tar xevil readme.txt gpl.txt instructions)
- (cd $(OBJ_DIR); $(COMPRESS) -f xevil$(VERSION).$(PCKG_NAME).tar)
## Make a distribution file.
#dist: