Makefile 680 B

12345678910111213141516171819202122232425262728293031
  1. # $OpenBSD: Makefile,v 1.16 2017/04/19 18:14:56 jca Exp $
  2. COMMENT= simple interactive POP3 client
  3. DISTNAME= prepop-0.1b7
  4. REVISION = 4
  5. CATEGORIES= mail
  6. # GPL
  7. PERMIT_PACKAGE_CDROM= Yes
  8. WANTLIB= c m readline ${LIBCXX} termcap
  9. MAKE_FLAGS= \
  10. CC='${CXX}' \
  11. CFLAGS='${CFLAGS} -c -DVERSION="$${VERSION}" -DDATE="$${DATE}"' \
  12. LDFLAGS='-lreadline -ltermcap'
  13. ALL_TARGET= compile link
  14. NO_TEST= Yes
  15. post-patch:
  16. sed -i -e 's/<iostream\.h>/<iostream>/' ${WRKSRC}/*.cc ${WRKSRC}/*.h
  17. do-install:
  18. ${INSTALL_PROGRAM} ${WRKBUILD}/prepop ${PREFIX}/bin
  19. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/prepop
  20. ${INSTALL_DATA} ${WRKSRC}/MANUAL ${PREFIX}/share/doc/prepop
  21. .include <bsd.port.mk>