mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Support staging
- Define DOCS - Don't use -Werror - Fully respect CFLAGS
This commit is contained in:
parent
482e4e92eb
commit
6ca3fbc2af
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345325
@ -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 to alter your mime-encoded mailpacks
|
||||
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>
|
||||
|
11
mail/altermime/files/patch-Makefile
Normal file
11
mail/altermime/files/patch-Makefile
Normal file
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user