Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # $OpenBSD: Makefile,v 1.37 2017/05/10 02:20:22 schwarze Exp $
  2. COMMENT= biff-type program, designed to match AfterStep
  3. DISTNAME= asmail-0.56
  4. REVISION = 5
  5. CATEGORIES= mail
  6. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=asmail/}
  7. HOMEPAGE= http://asmail.sourceforge.net/
  8. LIB_DEPENDS= graphics/jpeg
  9. # GPLv2
  10. PERMIT_PACKAGE_CDROM= Yes
  11. WANTLIB= ICE SM X11 Xext Xpm Xt c jpeg>=62
  12. CONFIGURE_STYLE= gnu
  13. CONFIGURE_ARGS= --enable-shaping
  14. CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
  15. LDFLAGS="-L${LOCALBASE}/lib"
  16. pre-configure:
  17. ${SUBST_CMD} ${WRKSRC}/sample.asmailrc
  18. NO_TEST= Yes
  19. post-install:
  20. ${INSTALL_DATA_DIR} ${PREFIX}/include/X11/pixmaps/cloud-e
  21. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/asmail
  22. ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/asmail
  23. ${INSTALL_MAN} ${WRKSRC}/asmail.man.src ${PREFIX}/man/man1/asmail.1
  24. ${INSTALL_DATA} ${WRKSRC}/pixmaps/cloud-e/*.xpm ${PREFIX}/include/X11/pixmaps/cloud-e
  25. ${INSTALL_DATA} ${WRKSRC}/pixmaps/*.xpm ${PREFIX}/include/X11/pixmaps
  26. ${INSTALL_DATA} ${WRKSRC}/sample.asmailrc ${PREFIX}/share/examples/asmail
  27. ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/asmail
  28. .include <bsd.port.mk>