pkgsrc/lang/cim/Makefile
jlam 83147ffa68 Remove some unnecessarily strong dependencies on perl that resulted
from including perl5/buildlink3.mk.  These packages just need the Perl
interpreter, and can just add "perl" to USE_TOOLS instead.
2005-07-16 19:10:37 +00:00

28 lines
825 B
Makefile

# $NetBSD: Makefile,v 1.21 2005/07/16 19:10:39 jlam Exp $
DISTNAME= cim-3.30
PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU:=cim/}
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/cim/cim.html
COMMENT= Simula compiler based on the C programming language
GNU_CONFIGURE= YES
USE_TOOLS+= perl:run
USE_LIBTOOL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
INFO_FILES= cim.info
SUBST_CLASSES+= x
SUBST_STAGE.x= post-patch
SUBST_FILES.x= src/cimcomp.c
SUBST_SED.x= -e "s|SCC|\"${CC}\"|"
SUBST_SED.x+= -e "s|SCFLAGS|\"${CFLAGS} -I${PREFIX}/include\"|"
SUBST_SED.x+= -e "s|SLDFLAGS|\"-L${PREFIX}/lib ${COMPILER_RPATH_FLAG}${PREFIX}/lib\"|"
SUBST_SED.x+= -e "s|= LIBDIR|= \"${PREFIX}/lib\"|"
SUBST_SED.x+= -e "s|= INCLUDEDIR|= \"${PREFIX}/include\"|"
.include "../../mk/bsd.pkg.mk"