openbsd-ports/lang/pcc/Makefile
2013-03-11 11:20:26 +00:00

36 lines
688 B
Makefile

# $OpenBSD: Makefile,v 1.4 2013/03/11 11:20:28 espie Exp $
COMMENT = portable C compiler
PCCVER = 1.0.0
DISTNAME = pcc-${PCCVER}
REVISION = 1
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>