1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Use MAKE_ARGS

This commit is contained in:
Volker Stolz 2005-10-13 12:16:25 +00:00
parent 100b51c6be
commit 5f69a82c48
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=145256
2 changed files with 2 additions and 54 deletions

View File

@ -15,6 +15,8 @@ COMMENT= General purpose audio recording utility for the WindowMaker dock
USE_XPM= YES
USE_X_PREFIX= YES
MAKE_ARGS= LIBS="-L${X11BASE}/lib -lXpm -lX11 -lXext" \
CFLAGS="${CFLAGS} -I${X11BASE}/include" LIBDIR=""
MAN1= wmrecord.1
PLIST_FILES= bin/wmrecord

View File

@ -1,54 +0,0 @@
*** Makefile.orig Mon Apr 2 03:42:10 2001
--- Makefile Mon Apr 2 03:44:45 2001
***************
*** 1,28 ****
! BINDIR = /usr/local/bin
! MANDIR = /usr/local/man/man1
! LIBDIR = -L/usr/X11R6/lib
! LIBS = -lXpm -lX11 -lXext
! CFLAGS = -O2 -Wall
CC = cc
RM = rm -f
all:: wmrecord
wmrecord: wmrecord.o wmgeneral.o
! $(CC) -o $@ wmrecord.o wmgeneral.o $(LIBDIR) $(LIBS)
wmrecord.o: wmrecord.c wmrecord.xpm
! $(CC) -c $(CFLAGS) wmrecord.c
wmgeneral.o: wmgeneral/wmgeneral.c
! $(CC) -c $(CFLAGS) wmgeneral/wmgeneral.c
clean:
$(RM) *.o wmrecord core
tidy:
$(RM) *.o core
-
- install: wmrecord
- install -s -o root -g root -m 0755 wmrecord $(BINDIR)
- install -o root -g root -m 0644 man/wmrecord.1 $(MANDIR)
--- 1,21 ----
! LDFLAGS= -L/usr/local/lib -L/usr/X11R6/lib -lXpm -lX11 -lXext
! CFLAGS+= -Wall -I/usr/local/include -I/usr/X11R6/include
CC = cc
RM = rm -f
all:: wmrecord
wmrecord: wmrecord.o wmgeneral.o
! $(CC) $(LDFLAGS) -o $@ wmrecord.o wmgeneral.o
wmrecord.o: wmrecord.c wmrecord.xpm
! $(CC) $(CFLAGS) -c wmrecord.c
wmgeneral.o: wmgeneral/wmgeneral.c
! $(CC) $(CFLAGS) -c wmgeneral/wmgeneral.c
clean:
$(RM) *.o wmrecord core
tidy:
$(RM) *.o core