git: f86e0d7063d1 - main - converters/fix-mime-charset: Add WWW
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 22 Dec 2023 01:24:47 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f86e0d7063d19999d9164e37255a64ddd7fe8004
commit f86e0d7063d19999d9164e37255a64ddd7fe8004
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-12-21 17:59:08 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-12-22 01:24:35 +0000
converters/fix-mime-charset: Add WWW
- Add LICENSE GPLv2
- Pet portclippy
- Utilize USES=localbase and OPTIONSNG
Approved by: portmgr (just-fix-it)
---
converters/fix-mime-charset/Makefile | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/converters/fix-mime-charset/Makefile b/converters/fix-mime-charset/Makefile
index cb7d4adbe906..281bcb15671f 100644
--- a/converters/fix-mime-charset/Makefile
+++ b/converters/fix-mime-charset/Makefile
@@ -6,24 +6,25 @@ MASTER_SITES= SF/fix-mime-chr/${PORTNAME}/${PORTVERSION}
MAINTAINER= chip-set@mail.ru
COMMENT= Fix incorrect Content-Type MIME headers of e-mail messages
+WWW= https://fix-mime-chr.sourceforge.net
-OPTIONS_DEFINE= DOCS
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libenca.so:converters/enca
-PORTDOCS= README.koi8r README
-
-GNU_CONFIGURE= yes
-USES= perl5
+USES= localbase perl5
USE_PERL5= build
-CPPFLAGS+= -I${LOCALBASE}/include
-LIBS+= -L${LOCALBASE}/lib
+GNU_CONFIGURE= yes
PLIST_FILES= bin/fix-mime-charset \
man/man1/fix-mime-charset.1.gz
+PORTDOCS= README.koi8r README
+
+OPTIONS_DEFINE= DOCS
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}