diff options
author | vs <vs@FreeBSD.org> | 2005-06-07 12:19:40 +0000 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2005-06-07 12:19:40 +0000 |
commit | df83f9247cd3bbd7e64fa4a11c3b85796fbb9f3f (patch) | |
tree | 2dd33a518101d15732079190313549d1b5f28028 /palm | |
parent | d517aa7d4ad2f43dbef50926558d00962f936187 (diff) | |
download | FreeBSD-ports-df83f9247cd3bbd7e64fa4a11c3b85796fbb9f3f.zip FreeBSD-ports-df83f9247cd3bbd7e64fa4a11c3b85796fbb9f3f.tar.gz |
Use MAKE_ARGS
Diffstat (limited to 'palm')
-rw-r--r-- | palm/pdbar/Makefile | 4 | ||||
-rw-r--r-- | palm/pdbar/files/patch-Makefile | 45 |
2 files changed, 3 insertions, 46 deletions
diff --git a/palm/pdbar/Makefile b/palm/pdbar/Makefile index 5797b08..4252e00 100644 --- a/palm/pdbar/Makefile +++ b/palm/pdbar/Makefile @@ -15,11 +15,13 @@ EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= Create and manipulate PalmOS database files +MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="" AR=${AR} RANLIB=${RANLIB} LD=${CC} + MAN1= pdbar.1 PLIST_FILES= bin/pdbar do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/pdbar ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/par ${PREFIX}/bin/pdbar ${INSTALL_MAN} ${WRKSRC}/par.man ${MANPREFIX}/man/man1/pdbar.1 .include <bsd.port.mk> diff --git a/palm/pdbar/files/patch-Makefile b/palm/pdbar/files/patch-Makefile deleted file mode 100644 index 2c65ab9..0000000 --- a/palm/pdbar/files/patch-Makefile +++ /dev/null @@ -1,45 +0,0 @@ ---- Makefile.orig Fri Aug 17 12:11:42 2001 -+++ Makefile Mon Jan 5 12:58:05 2004 -@@ -25,12 +25,12 @@ - INSTALL_LIBDIR = /usr/local/pilot/lib - INSTALL_BINDIR = /usr/local/bin - INSTALL_MANDIR = /usr/local/man/man1 --CC = gcc --CFLAGS = -g -I. -Wall --LD = gcc --LDFLAGS = -g --AR = ar --RANLIB = ranlib -+#CC = gcc -+#CFLAGS = -g -I. -Wall -+LD = $(CC) -+#LDFLAGS = -g -+#AR = ar -+#RANLIB = ranlib - - CFILES = \ - create.c \ -@@ -107,14 +107,14 @@ - ALLFILES = $(ALLSRCS) $(ALLDOCS) - WINFILES = Release/par.exe $(ALLDOCS) - --all: libprc.a par -+all: libprc.a pdbar - - libprc.a: $(OFILES) - ar rc libprc.a $(OFILES) - ranlib libprc.a - --par: $(PAR_OFILES) libprc.a -- $(LD) $(LDFLAGS) -o par $(PAR_OFILES) -L. -lprc -+pdbar: $(PAR_OFILES) libprc.a -+ $(LD) $(LDFLAGS) -o pdbar $(PAR_OFILES) -L. -lprc - - par.html: par.man - rman --filter HTML --title 'Par(1) Manual Page' par.man > par.html -@@ -158,4 +158,4 @@ - etags -r '/^prc[^(]*(/' $(PAR_CFILES) $(CFILES) $(HFILES) - - clean: -- rm -f *.o *.a par *~ -+ rm -f *.o *.a pdbar *~ |