aboutsummaryrefslogtreecommitdiff
path: root/palm
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2005-06-07 12:19:40 +0000
committerVolker Stolz <vs@FreeBSD.org>2005-06-07 12:19:40 +0000
commit1d8e78ed21926f3bceb1b6e4da67df292f35c9c0 (patch)
tree88cc3dfb878751b9689b194e198c5ce1929f1305 /palm
parent0a1ff832049764df3f6446a0be7ccaeada456c23 (diff)
downloadports-1d8e78ed21926f3bceb1b6e4da67df292f35c9c0.tar.gz
ports-1d8e78ed21926f3bceb1b6e4da67df292f35c9c0.zip
Notes
Diffstat (limited to 'palm')
-rw-r--r--palm/pdbar/Makefile4
-rw-r--r--palm/pdbar/files/patch-Makefile45
2 files changed, 3 insertions, 46 deletions
diff --git a/palm/pdbar/Makefile b/palm/pdbar/Makefile
index 5797b087c250..4252e00b4b59 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 2c65ab95a275..000000000000
--- 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 *~