Makefile 689 B

123456789101112131415161718192021222324252627282930313233343536
  1. # $OpenBSD: Makefile,v 1.12 2017/03/04 21:59:55 sthen Exp $
  2. COMMENT = portable C compiler
  3. PCCVER = 1.0.0
  4. DISTNAME = pcc-${PCCVER}
  5. REVISION = 9
  6. EXTRACT_SUFX = .tgz
  7. CATEGORIES = lang
  8. HOMEPAGE = http://pcc.ludd.ltu.se/
  9. MAINTAINER = Eric Radman <ericshane@eradman.com>
  10. # Other architectures not fully supported yet
  11. ONLY_FOR_ARCHS = i386 amd64
  12. # BSD
  13. PERMIT_PACKAGE_CDROM = Yes
  14. WANTLIB += c
  15. MASTER_SITES = http://pcc.ludd.ltu.se/ftp/pub/pcc-releases/ \
  16. ftp://pcc.ludd.ltu.se/pub/pcc-releases/
  17. CONFIGURE_STYLE = gnu
  18. CONFIG = ${MACHINE_ARCH:S/amd64/x86_64/}-unknown-openbsd${OSREV}
  19. SUBST_VARS = PCCVER CONFIG
  20. do-test:
  21. cd ${WRKBUILD} && ./cc/cc/pcc --version
  22. .include <bsd.port.mk>