123456789101112131415161718192021222324252627282930313233 |
- # $OpenBSD: Makefile,v 1.5 2017/04/19 15:30:45 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
- WANTLIB= c iconv
- MASTER_SITES= ${HOMEPAGE}
- LIB_DEPENDS= converters/libiconv
- MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS}" \
- LIBS="-L${LOCALBASE}/lib -liconv"
- # there is a "riptest" target, but the actual test files are missing.
- NO_TEST= Yes
- CFLAGS+= -Wall -I. -I${LOCALBASE}/include
- do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/ripmime ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/ripmime.1 ${PREFIX}/man/man1
- .include <bsd.port.mk>
|