diff options
author | vs <vs@FreeBSD.org> | 2005-09-27 14:17:52 +0000 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2005-09-27 14:17:52 +0000 |
commit | 4c6168116339278a7e502e5fc611204dc759a0e9 (patch) | |
tree | f252796c808aad385515678a09b1e7d066546343 /archivers/lbrate | |
parent | 44ae5ad692e073e4d06f665016dd041b890a90f4 (diff) | |
download | FreeBSD-ports-4c6168116339278a7e502e5fc611204dc759a0e9.zip FreeBSD-ports-4c6168116339278a7e502e5fc611204dc759a0e9.tar.gz |
Cleanup, use MAKE_ARGS instead of Makefile-patch
Diffstat (limited to 'archivers/lbrate')
-rw-r--r-- | archivers/lbrate/Makefile | 10 | ||||
-rw-r--r-- | archivers/lbrate/files/patch-Makefile | 28 |
2 files changed, 3 insertions, 35 deletions
diff --git a/archivers/lbrate/Makefile b/archivers/lbrate/Makefile index 1611040..2e602ed 100644 --- a/archivers/lbrate/Makefile +++ b/archivers/lbrate/Makefile @@ -16,22 +16,18 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Extract/decompress CP/M LBR archives USE_GETOPT_LONG= yes -MAKE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" +MAKE_ARGS= CC="${CC}" CFLAGS="${CPPFLAGS} ${CFLAGS} ${LDFLAGS}" MAN1= lbrate.1 -PORTDOCS= ${DOC_FILES} +PORTDOCS= ChangeLog README TODO PLIST_FILES= bin/lbrate -DOC_FILES= ChangeLog README TODO - do-install: ${INSTALL_PROGRAM} ${WRKSRC}/lbrate ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/lbrate.1 ${MANPREFIX}/man/man1 .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} -.for FILE in ${DOC_FILES} - ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} -.endfor + (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}) .endif .include <bsd.port.mk> diff --git a/archivers/lbrate/files/patch-Makefile b/archivers/lbrate/files/patch-Makefile deleted file mode 100644 index ce621f6..0000000 --- a/archivers/lbrate/files/patch-Makefile +++ /dev/null @@ -1,28 +0,0 @@ ---- Makefile.orig Fri Aug 31 01:03:17 2001 -+++ Makefile Sun Jul 6 05:09:19 2003 -@@ -1,13 +1,13 @@ - # Makefile - makefile for lbrate - --CC=gcc --CFLAGS=-O2 -Wall -+CC?= gcc -+CFLAGS+=$(CPPFLAGS) - - # Set BINDIR to directory for binary, - # MANDIR to directory for man page. - # Usually it will be simpler to just set PREFIX. - # --PREFIX=/usr/local -+PREFIX?=/usr/local - BINDIR=$(PREFIX)/bin - MANDIR=$(PREFIX)/man/man1 - -@@ -19,7 +19,7 @@ - all: lbrate - - lbrate: $(OBJ) -- $(CC) $(CFLAGS) -o lbrate $(OBJ) -+ $(CC) $(CFLAGS) -o lbrate $(OBJ) $(LDFLAGS) - - installdirs: - /bin/sh ./mkinstalldirs $(BINDIR) $(MANDIR) |