Makefile 681 B

123456789101112131415161718192021222324252627282930313233
  1. # $OpenBSD: Makefile,v 1.5 2017/04/19 15:30:45 sthen Exp $
  2. COMMENT= extract attachments from MIME encoded emails
  3. DISTNAME= ripmime-1.4.0.10
  4. CATEGORIES= converters mail
  5. HOMEPAGE= http://www.pldaniels.com/ripmime/
  6. # BSD
  7. PERMIT_PACKAGE_CDROM= Yes
  8. WANTLIB= c iconv
  9. MASTER_SITES= ${HOMEPAGE}
  10. LIB_DEPENDS= converters/libiconv
  11. MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS}" \
  12. LIBS="-L${LOCALBASE}/lib -liconv"
  13. # there is a "riptest" target, but the actual test files are missing.
  14. NO_TEST= Yes
  15. CFLAGS+= -Wall -I. -I${LOCALBASE}/include
  16. do-install:
  17. ${INSTALL_PROGRAM} ${WRKSRC}/ripmime ${PREFIX}/bin
  18. ${INSTALL_DATA} ${WRKSRC}/ripmime.1 ${PREFIX}/man/man1
  19. .include <bsd.port.mk>