1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/x11/9menu/files/patch-aa
Satoshi Asami 4a6b440781 Various plan9 utilities. It's such a complete collection, I'm going
to import it all at once!

Submitted by:	 Eric L. Hernes <erich@lodgenet.com>
1995-08-14 04:08:02 +00:00

32 lines
622 B
Plaintext

*** Makefile.orig Fri Aug 11 15:55:35 1995
--- Makefile Fri Aug 11 16:03:26 1995
***************
*** 6,13 ****
# arnold@skeeve.atl.ga.us
CC = gcc
! CFLAGS = -g -O
! LIBS = -lX11
9menu: 9menu.c
$(CC) $(CFLAGS) 9menu.c $(LIBS) -o 9menu
--- 6,23 ----
# arnold@skeeve.atl.ga.us
CC = gcc
! CFLAGS = -O -I/usr/X11R6/include
! LIBS = -L/usr/X11R6/lib -lX11
!
!
! all: 9menu
9menu: 9menu.c
$(CC) $(CFLAGS) 9menu.c $(LIBS) -o 9menu
+
+ install:
+ $(INSTALL) -c 9menu $(PREFIX)/bin
+ $(INSTALL) -c 9menu.1 $(PREFIX)/man/man1
+ strip $(PREFIX)/bin/9menu
+ gzip -9nf $(PREFIX)/man/man1/9menu.1
+