41 lines
863 B
Makefile
41 lines
863 B
Makefile
# $OpenBSD: Makefile,v 1.5 2013/03/11 10:50:04 espie Exp $
|
|
|
|
COMMENT= C compiler for GMC-4
|
|
|
|
DISTNAME= gmc4cc-0.6.2
|
|
CATEGORIES= devel lang
|
|
|
|
REVISION= 2
|
|
|
|
# Japanese, use this for the English version: http://goo.gl/LPtgg
|
|
HOMEPAGE= http://terus.jp/engineering/gmc4cc/
|
|
|
|
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
MASTER_SITES= ${HOMEPAGE}/files/
|
|
MASTER_SITES0= http://distfiles.nl/
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
|
gmc4cc-samples-0.1${EXTRACT_SUFX}:0
|
|
|
|
MODULES= converters/libiconv
|
|
|
|
WANTLIB += c gmp m
|
|
|
|
BUILD_DEPENDS= lang/ghc
|
|
LIB_DEPENDS= devel/gmp
|
|
|
|
WRKDIST= ${WRKDIR}/gmc4cc/
|
|
|
|
NO_TEST= Yes
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gmc4cc ${PREFIX}/bin/
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gmc4cc/
|
|
cp -R ${WRKDIR}/gmc4cc-samples-0.1/* ${PREFIX}/share/examples/gmc4cc/
|
|
|
|
.include <bsd.port.mk>
|