d9b82d400a
Objective-C to C plus an associated class library.
39 lines
1 KiB
Makefile
39 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2004/09/24 00:28:01 rh Exp $
|
|
#
|
|
|
|
DISTNAME= objc-3.2.5
|
|
CATEGORIES= lang
|
|
MASTER_SITES= http://users.pandora.be/stes/
|
|
DISTFILES= ${DIST_BS}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://users.pandora.be/stes/compiler.html
|
|
COMMENT= Portable Object Compiler
|
|
|
|
DIST_BS= objc-bootstrap-3.1.33
|
|
WRKSRC_BS= ${WRKDIR}/${DIST_BS}
|
|
|
|
CONFIGURE_DIRS= ${WRKSRC_BS} ${WRKSRC}
|
|
PREPEND_PATH+= ${WRKSRC_BS}
|
|
ALL_TARGET= default
|
|
|
|
USE_GNU_TOOLS+= lex
|
|
USE_BUILDLINK3= yes
|
|
USE_PKGLOCALEDIR= yes
|
|
GNU_CONFIGURE= yes
|
|
|
|
pre-configure:
|
|
${ECHO} >> ${WRKSRC_BS}/configure \
|
|
'${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${BUILD_MAKE_FLAGS} -f ${MAKEFILE} ${ALL_TARGET}'
|
|
|
|
post-extract:
|
|
${RM} -rf `${FIND} ${WRKSRC} -name CVS -type d`
|
|
|
|
post-configure:
|
|
${LN} -s . ${WRKSRC_BS}/bin
|
|
${SED} < ${WRKSRC_BS}/objc > ${WRKDIR}/oc.tmp \
|
|
-e 's|${PREFIX}|${WRKSRC_BS}|g'
|
|
${MV} ${WRKDIR}/oc.tmp ${WRKSRC_BS}/objc
|
|
${CHMOD} +x ${WRKSRC_BS}/objc
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|