Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Feb 2014 08:27:12 +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: r345325 - in head/mail/altermime: . files
Message-ID:  <201402210827.s1L8RCmN031693@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Fri Feb 21 08:27:11 2014
New Revision: 345325
URL: http://svnweb.freebsd.org/changeset/ports/345325
QAT: https://qat.redports.org/buildarchive/r345325/

Log:
  - Support staging
  - Define DOCS
  - Don't use -Werror
  - Fully respect CFLAGS

Added:
  head/mail/altermime/files/patch-Makefile   (contents, props changed)
Modified:
  head/mail/altermime/Makefile

Modified: head/mail/altermime/Makefile
==============================================================================
--- head/mail/altermime/Makefile	Fri Feb 21 07:49:13 2014	(r345324)
+++ head/mail/altermime/Makefile	Fri Feb 21 08:27:11 2014	(r345325)
@@ -4,7 +4,6 @@
 PORTNAME=	altermime
 PORTVERSION=	0.3.11.a1
 CATEGORIES=	mail textproc
-#MASTER_SITES=	http://www.pldaniels.com/altermime/ \
 MASTER_SITES=	http://T32.tecnik93.com/FreeBSD/ports/altermime/sources/
 
 MAINTAINER=	itetcu@FreeBSD.org
@@ -13,17 +12,13 @@ COMMENT=	Small C program which is used t
 PLIST_FILES=	bin/altermime
 PORTDOCS=	CHANGELOG LICENCE README
 
-NO_STAGE=	yes
-post-patch:
-	@${REINPLACE_CMD} -e "s#CFLAGS=-Wall -g#CFLAGS=-Wall ${CFLAGS}#" ${WRKSRC}/Makefile
+OPTIONS_DEFINE=	DOCS
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-.ifndef(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for i in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
 
 .include <bsd.port.mk>

Added: head/mail/altermime/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/altermime/files/patch-Makefile	Fri Feb 21 08:27:11 2014	(r345325)
@@ -0,0 +1,11 @@
+--- ./Makefile.orig	2014-02-21 09:23:27.770189581 +0100
++++ ./Makefile	2014-02-21 09:24:23.114185601 +0100
+@@ -9,7 +9,7 @@
+ #								opposite of a disclaimer.
+ #ALTERMIME_OPTIONS=-DALTERMIME_PRETEXT
+ ALTERMIME_OPTIONS=
+-CFLAGS=-Wall -Werror -g -I. -O2 $(ALTERMIME_OPTIONS)
++CFLAGS=-I.
+ OBJS= strstack.o mime_alter.o ffget.o pldstr.o filename-filters.o logger.o MIME_headers.o libmime-decoders.o boundary-stack.o qpe.o
+ 
+ 



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