1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Use MAKE_ARGS

This commit is contained in:
Volker Stolz 2005-06-07 12:19:40 +00:00
parent 0a1ff83204
commit 1d8e78ed21
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=136988
2 changed files with 3 additions and 46 deletions

View File

@ -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>

View File

@ -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 *~