Makefile 814 B

12345678910111213141516171819202122232425262728293031323334
  1. # $OpenBSD: Makefile,v 1.25 2017/06/07 01:07:06 schwarze Exp $
  2. COMMENT= Cubic Circle's POP3 daemon
  3. DISTNAME= cucipop-1.31
  4. REVISION= 1
  5. CATEGORIES= mail
  6. MASTER_SITES= ftp://ftp.informatik.rwth-aachen.de/pub/packages/cucipop/
  7. MASTER_SITES0= ftp://ftp.kame.net/pub/kame/misc/
  8. PATCHFILES= cucipop-1.31-v6-20010223.diff.gz:0
  9. PATCH_DIST_STRIP= -p1
  10. PERMIT_PACKAGE_CDROM= no fee
  11. PERMIT_PACKAGE_FTP= Yes
  12. WANTLIB= c
  13. MAKE_FLAGS= CFLAGS="${CFLAGS} -DINET6" LDFLAGS="" MD5_OBJ=""
  14. pre-configure:
  15. .for f in cucipop.8 makevpopdb.8
  16. @cd ${WRKSRC} && sed -e s#!!PREFIX!!#${PREFIX}#g ${f} > ${f}.new && \
  17. mv ${f}.new ${f}
  18. .endfor
  19. NO_TEST= Yes
  20. do-install:
  21. cd ${WRKSRC}; ${INSTALL_PROGRAM} cucipop makevpopdb ${PREFIX}/libexec
  22. cd ${WRKSRC}; ${INSTALL_MAN} cucipop.8 makevpopdb.8 ${PREFIX}/man/man8
  23. .include <bsd.port.mk>