summaryrefslogtreecommitdiff
path: root/mail/ripmime/Makefile
blob: f7b526fd2d945eeeaf0206ac6c0a13e95d40acc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $NetBSD: Makefile,v 1.14 2019/11/02 16:25:27 rillig Exp $
#

DISTNAME=	ripmime-1.4.0.10
PKGREVISION=	1
CATEGORIES=	mail
MASTER_SITES=	http://www.pldaniels.com/ripmime/

MAINTAINER=	reed@reedmedia.net
HOMEPAGE=	http://www.pldaniels.com/ripmime/
COMMENT=	Extract the attached files out of a MIME encoded email package

MAKE_JOBS_SAFE=	no
MAKE_ENV+=	LIBS="${BUILDLINK_LDFLAGS} ${BUILDLINK_LDADD.iconv}"

INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1

.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
CFLAGS+=	-Wno-error=tautological-compare
.endif

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/ripmime ${DESTDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/ripmime.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1

.include "../../converters/libiconv/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"