openbsd-ports/converters/ripmime/Makefile
sthen ec25288b41 import ports/mail/ripmime, ok giovanni@
ripMIME's primary pupose is to extract attachments out of MIME-encoded
email packages. It includes options suitable for some types of automated
use, including bounds on recursion.
2012-06-21 16:57:31 +00:00

35 lines
749 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2012/06/21 16:57:31 sthen Exp $
COMMENT= extract attachments from MIME encoded emails
DISTNAME= ripmime-1.4.0.10
CATEGORIES= converters mail
HOMEPAGE= http://www.pldaniels.com/ripmime/
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c
MASTER_SITES= ${HOMEPAGE}
MODULES= converters/libiconv
MAKE_FLAGS= CFLAGS="${CFLAGS}" LIBS="-L${LOCALBASE}/lib -liconv"
# there is a "riptest" target, but the actual test files are missing.
NO_REGRESS= Yes
CFLAGS+= -Wall -I. -I${LOCALBASE}/include -Werror
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ripmime ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/ripmime.1 ${PREFIX}/man/man1
.include <bsd.port.mk>