svn commit: r345089 - in head/editors/bitedit: . files
Emanuel Haupt
ehaupt at FreeBSD.org
Wed Feb 19 12:52:06 UTC 2014
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 at 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)
More information about the svn-ports-all
mailing list