Skip to content

Commit

Permalink
converters/fix-mime-charset: Add WWW
Browse files Browse the repository at this point in the history
- Add LICENSE GPLv2
- Pet portclippy
- Utilize USES=localbase and OPTIONSNG

Approved by:	portmgr (just-fix-it)
  • Loading branch information
5u623l20 committed Dec 22, 2023
1 parent b181b38 commit f86e0d7
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions converters/fix-mime-charset/Makefile
Expand Up @@ -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}
Expand Down

0 comments on commit f86e0d7

Please sign in to comment.