1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00
freebsd-ports/mail/ripmime/Makefile
2023-02-01 20:26:12 +01:00

29 lines
702 B
Makefile

PORTNAME= ripmime
PORTVERSION= 1.4.1.0
CATEGORIES= mail
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Extracts attached files out of a MIME encoded email package
WWW= https://github.com/inflex/ripMIME
LICENSE= BSD4CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
MAKE_JOBS_UNSAFE= yes
USE_GITHUB= yes
GH_ACCOUNT= inflex
WRKSRC= ${WRKDIR}/ripMIME-${PORTVERSION}
PLIST_FILES= bin/ripmime man/man1/ripmime.1.gz
post-patch:
@${REINPLACE_CMD} -e 's!^CFLAGS=!CFLAGS ?=!' \
${WRKSRC}/Makefile ${WRKSRC}/ripOLE/Makefile \
${WRKSRC}/tnef/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ripmime ${STAGEDIR}${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/ripmime.1 ${STAGEDIR}${PREFIX}/man/man1/
.include <bsd.port.mk>