openbsd-ports/lang/pcc/Makefile
2014-07-16 09:11:43 +00:00

36 lines
688 B
Makefile

# $OpenBSD: Makefile,v 1.7 2014/07/16 09:11:43 espie Exp $
COMMENT = portable C compiler
PCCVER = 1.0.0
DISTNAME = pcc-${PCCVER}
REVISION = 4
EXTRACT_SUFX = .tgz
CATEGORIES = lang
HOMEPAGE = http://pcc.ludd.ltu.se/
MAINTAINER = Eric Radman <ericshane@eradman.com>
# Other architectures not fully supported yet
ONLY_FOR_ARCHS = i386 amd64
# BSD
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += c
MASTER_SITES = http://pcc.ludd.ltu.se/ftp/pub/pcc-releases/ \
ftp://pcc.ludd.ltu.se/pub/pcc-releases/
CONFIGURE_STYLE = gnu
CONFIG = ${MACHINE_ARCH:S/amd64/x86_64/}-unknown-openbsd${OSREV}
SUBST_VARS = PCCVER CONFIG
do-test:
cd ${WRKBUILD} && ./cc/cc/pcc --version
.include <bsd.port.mk>