# $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