ports/129743: New port: lang/mcc18-wrapper

Jason W. Bacon jwbacon at tds.net
Thu Dec 18 22:50:01 UTC 2008


>Number:         129743
>Category:       ports
>Synopsis:       New port: lang/mcc18-wrapper
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 18 22:50:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Jason W. Bacon
>Release:        6.3-RELEASE
>Organization:
Acadix Consulting, LLC
>Environment:
FreeBSD sculpin.jbacon.dyndns.org 6.3-RELEASE FreeBSD 6.3-RELEASE #1: Mon Feb 25 18:34:05 CST 2008     bacon at sculpin.tds.net:/usr/obj/usr/src/sys/SCULPIN  i386
>Description:
This is a set of wrapper scripts for the Windows based Microchip MCC18 compiler and Wine.  The scripts make the compiler tools look like native Unix commands, and also perform basic configuration checks to help with setup issues.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	lang/mcc18-wrapper
#	lang/mcc18-wrapper/pkg-descr
#	lang/mcc18-wrapper/Makefile
#	lang/mcc18-wrapper/files
#	lang/mcc18-wrapper/files/pkg-message.in
#	lang/mcc18-wrapper/distinfo
#
echo c - lang/mcc18-wrapper
mkdir -p lang/mcc18-wrapper > /dev/null 2>&1
echo x - lang/mcc18-wrapper/pkg-descr
sed 's/^X//' >lang/mcc18-wrapper/pkg-descr << 'END-of-lang/mcc18-wrapper/pkg-descr'
XMCC18 is a Windows-based commercial compiler from Microship, Inc. for their
XPIC line of microcontrollers.  This port provides wrappers to make the
XMCC compiler tools look like native Unix commands.
X
XWWW:	http://www.microchip.com
END-of-lang/mcc18-wrapper/pkg-descr
echo x - lang/mcc18-wrapper/Makefile
sed 's/^X//' >lang/mcc18-wrapper/Makefile << 'END-of-lang/mcc18-wrapper/Makefile'
X# New ports collection makefile for:	mcc18_wrapper
X# Date created:		2008-11-25
X# Whom:			Jason Bacon <jwbacon at tds.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	mcc18-wrapper
XPORTVERSION=	0.1
XCATEGORIES=	lang
XMASTER_SITES=	http://personalpages.tds.net/~jwbacon/Ports/distfiles/ \
X		http://jbacon.dyndns.org/~jbacon/Ports/distfiles/
X
XMAINTAINER=	jwbacon at tds.net
XCOMMENT=	Wrappers for Windows based Microchip MCC18 and Wine
X
XDEPENDS_RUN=	wine:${PORTSDIR}/emulators/wine
X
X.include <bsd.port.pre.mk>
X
XONLY_FOR_ARCHS!=awk '$$1 == "ONLY_FOR_ARCHS=" { print $$2,$$3,$$4,$$5 }' \
X		${PORTSDIR}/emulators/wine/Makefile
X
XNO_BUILD=	yes
X
XPKG_MESSAGE=	${WRKDIR}/pkg-message
XPLIST_FILES=	bin/mcc18 \
X		bin/mpasm \
X		bin/mplib \
X		bin/mplink
X
XMAN1=		mcc18.1 mpasm.1 mplib.1 mplink.1
X
Xdo-install:
X	${MKDIR} ${DATADIR}
X	${INSTALL_SCRIPT} ${WRKSRC}/mcc18 ${PREFIX}/bin
X	${INSTALL_SCRIPT} ${WRKSRC}/mpasm ${PREFIX}/bin
X	${INSTALL_SCRIPT} ${WRKSRC}/mplib ${PREFIX}/bin
X	${INSTALL_SCRIPT} ${WRKSRC}/mplink ${PREFIX}/bin
X	${INSTALL_MAN} ${WRKSRC}/mcc18.1 ${MAN1PREFIX}/man/man1
X	${INSTALL_MAN} ${WRKSRC}/mcc18.1 ${MAN1PREFIX}/man/man1/mpasm.1
X	${INSTALL_MAN} ${WRKSRC}/mcc18.1 ${MAN1PREFIX}/man/man1/mplib.1
X	${INSTALL_MAN} ${WRKSRC}/mcc18.1 ${MAN1PREFIX}/man/man1/mplink.1
X
X.include <bsd.port.post.mk>
END-of-lang/mcc18-wrapper/Makefile
echo c - lang/mcc18-wrapper/files
mkdir -p lang/mcc18-wrapper/files > /dev/null 2>&1
echo x - lang/mcc18-wrapper/files/pkg-message.in
sed 's/^X//' >lang/mcc18-wrapper/files/pkg-message.in << 'END-of-lang/mcc18-wrapper/files/pkg-message.in'
X
XBefore using the MCC18 compiler, each user must run 'setup_mcc18'.
XThis will install MCC18 under wine for that user only.
END-of-lang/mcc18-wrapper/files/pkg-message.in
echo x - lang/mcc18-wrapper/distinfo
sed 's/^X//' >lang/mcc18-wrapper/distinfo << 'END-of-lang/mcc18-wrapper/distinfo'
XMD5 (mcc18-wrapper-0.1.tar.gz) = c2b984b6dd76d7dd1d8d48389f2f41fa
XSHA256 (mcc18-wrapper-0.1.tar.gz) = 1976478e166a72fca7b516e830e75d680f9c2818170352f85e0db1e7a4624e25
XSIZE (mcc18-wrapper-0.1.tar.gz) = 1580
END-of-lang/mcc18-wrapper/distinfo
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list