From 7bd1d8971f0f44e4646d5c52b07e74b95baeb30f Mon Sep 17 00:00:00 2001 From: ed Date: Tue, 17 Feb 2009 19:51:46 +0000 Subject: Make tweak honour compiler flags CC, CFLAGS, LDFLAGS, etc. The Makefile that gets shipped with tweak overrides the default values of the well known make variables. Because a diff to sanitize the Makefile would be bigger than replacing it, add a BSD Makefile to the files/ directory. Also remove the unneeded commented DISTNAME line from the Makefile. Approved by: Jille Timmermans (port maintainer) --- editors/tweak/Makefile | 6 ++++-- editors/tweak/files/Makefile.in | 7 +++++++ 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 editors/tweak/files/Makefile.in (limited to 'editors') diff --git a/editors/tweak/Makefile b/editors/tweak/Makefile index 1c37051c9625..a5deb8368189 100644 --- a/editors/tweak/Makefile +++ b/editors/tweak/Makefile @@ -7,13 +7,15 @@ PORTNAME= tweak PORTVERSION= 3.01 CATEGORIES= editors MASTER_SITES= http://www.chiark.greenend.org.uk/~sgtatham/${PORTNAME}/ -#DISTNAME= ${PORTNAME}-${PORTVERSION} MAINTAINER= jille@quis.cx COMMENT= An efficient hex editor -USE_GMAKE= yes MAN1= tweak.1 +MANCOMPRESSED= yes PLIST_FILES= bin/tweak +MAKEFILE= ${FILESDIR}/Makefile.in +MAKE_ENV+= BINDIR="${LOCALBASE}/bin" MANDIR="${PREFIX}/man/man" + .include diff --git a/editors/tweak/files/Makefile.in b/editors/tweak/files/Makefile.in new file mode 100644 index 000000000000..1f82158c7aa4 --- /dev/null +++ b/editors/tweak/files/Makefile.in @@ -0,0 +1,7 @@ +# $FreeBSD$ + +PROG= tweak +SRCS= actions.c btree.c buffer.c curses.c keytab.c main.c rcfile.c search.c +LDADD= -lncurses + +.include -- cgit