Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Feb 2014 12:52:06 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r345089 - in head/editors/bitedit: . files
Message-ID:  <201402191252.s1JCq61B033744@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Wed Feb 19 12:52:05 2014
New Revision: 345089
URL: http://svnweb.freebsd.org/changeset/ports/345089
QAT: https://qat.redports.org/buildarchive/r345089/

Log:
  - Support staging
  - Define LICENSE
  - Respect CFLAGS

Added:
  head/editors/bitedit/files/
  head/editors/bitedit/files/patch-Makefile   (contents, props changed)
Modified:
  head/editors/bitedit/Makefile

Modified: head/editors/bitedit/Makefile
==============================================================================
--- head/editors/bitedit/Makefile	Wed Feb 19 12:47:06 2014	(r345088)
+++ head/editors/bitedit/Makefile	Wed Feb 19 12:52:05 2014	(r345089)
@@ -9,16 +9,17 @@ MASTER_SITES=	http://freebsdcluster.org/
 MAINTAINER=	mich@FreeBSD.org
 COMMENT=	Bitedit is a simple ncurses program for editing a file
 
+LICENSE=	GPLv2
+
 MAKE_ARGS=	CFLAGS="${CFLAGS} -DVERSION=\\\"${PORTVERSION}\\\""
 
 DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/bitedit ${PREFIX}/bin/
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/bitedit.txt ${DOCSDIR}/bitedit.txt
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/bitedit ${STAGEDIR}${PREFIX}/bin
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/bitedit.txt ${STAGEDIR}${DOCSDIR}/bitedit.txt
 
 .include <bsd.port.mk>

Added: head/editors/bitedit/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/editors/bitedit/files/patch-Makefile	Wed Feb 19 12:52:05 2014	(r345089)
@@ -0,0 +1,13 @@
+--- ./Makefile.orig	2003-05-27 14:23:25.000000000 +0200
++++ ./Makefile	2014-02-19 13:50:29.293943342 +0100
+@@ -9,8 +9,8 @@
+ DISTFILE=bitedit-$(VERSION).tar.gz
+ 
+ DEFINES=-DVERSION=\"$(VERSION)\"
+-CFLAGS=-g -Wall $(DEFINES) 
+-LD=$(CC) -g -Wall
++CFLAGS+=-Wall $(DEFINES) 
++LD=$(CC) -Wall
+ 
+ 
+ all: $(TARGETS)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402191252.s1JCq61B033744>