2000-01-28 21:46:13 -05:00
|
|
|
# New ports collection makefile for: crossgo32
|
|
|
|
# Date created: 6 Mar 97
|
|
|
|
# Whom: Pedro Giffuni <giffunip@asme.org>
|
1997-08-13 05:06:55 -04:00
|
|
|
# Date updated: Sun Jun 22 16:11:40 EST 1997
|
|
|
|
# Whom: Joel Sutton <sutton@aardvark.apana.org.au>
|
1997-03-27 15:53:42 -05:00
|
|
|
#
|
1999-08-25 01:57:29 -04:00
|
|
|
# $FreeBSD$
|
1997-03-27 15:53:42 -05:00
|
|
|
#
|
|
|
|
|
2000-04-11 17:30:15 -04:00
|
|
|
PORTNAME= crossgo32
|
|
|
|
PORTVERSION= 1.3
|
1997-03-27 15:53:42 -05:00
|
|
|
CATEGORIES= devel
|
1997-08-13 05:06:55 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL} \
|
2000-01-28 21:46:13 -05:00
|
|
|
ftp://sourceware.cygnus.com/pub/crossgcc/
|
2000-06-09 17:59:16 -04:00
|
|
|
MASTER_SITE_SUBDIR= asami/LOCAL_PORTS
|
2000-04-16 05:38:34 -04:00
|
|
|
DISTNAME= crosstree-${PORTVERSION}
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} dosrel-1.0${EXTRACT_SUFX}
|
1997-03-27 15:53:42 -05:00
|
|
|
|
2000-01-28 21:46:13 -05:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
|
1999-12-24 13:39:48 -05:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --target=${TARGET}
|
1997-03-27 15:53:42 -05:00
|
|
|
USE_GMAKE= yes
|
1997-03-27 21:35:44 -05:00
|
|
|
TARGET= i386-go32
|
1997-03-27 15:53:42 -05:00
|
|
|
|
1997-08-13 05:06:55 -04:00
|
|
|
MAN1= i386-go32-ar.1 i386-go32-nm.1 i386-go32-objdump.1\
|
|
|
|
i386-go32-ranlib.1 i386-go32-size.1 i386-go32-strings.1\
|
|
|
|
i386-go32-strip.1 i386-go32-objcopy.1 i386-go32-nlmconv.1\
|
|
|
|
i386-go32-g++.1 i386-go32-gcc.1 cccp.1\
|
|
|
|
i386-go32-c++filt.1 configure.1 i386-go32-as.1 i386-go32-ld.1
|
|
|
|
|
2000-01-28 21:46:13 -05:00
|
|
|
DOCDIR= ${PREFIX}/share/doc/crossgo32
|
|
|
|
GO32DIR= ${PREFIX}/share/crossgo32
|
1997-08-13 05:06:55 -04:00
|
|
|
|
|
|
|
post-extract:
|
|
|
|
${MV} ${WRKDIR}/dosrel-1.0/ ${WRKSRC}
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${CP} ${FILESDIR}/Makefile ${WRKSRC}/dosrel-1.0/
|
|
|
|
|
|
|
|
post-build:
|
|
|
|
@cd ${WRKSRC}/dosrel-1.0 ;\
|
2000-01-28 21:46:13 -05:00
|
|
|
${MAKE} coff2exe
|
1997-08-13 05:06:55 -04:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/dosrel-1.0/coff2exe \
|
|
|
|
${PREFIX}/bin/i386-go32-coff2exe
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${ECHO_MSG} "===> Installing documentation into ${DOCDIR}"
|
|
|
|
${MKDIR} ${DOCDIR}
|
2000-01-28 21:46:13 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/FAQ-0.8 ${DOCDIR}
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/README.FreeBSD ${DOCDIR}
|
1997-08-13 05:06:55 -04:00
|
|
|
.endif
|
|
|
|
@${ECHO_MSG} "===> Installing DJGPP exe files into ${GO32DIR}"
|
|
|
|
${MKDIR} ${GO32DIR}
|
2000-01-28 21:46:13 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/dosrel-1.0/go32.exe ${GO32DIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/dosrel-1.0/emu387 ${GO32DIR}
|
1997-03-27 15:53:42 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|