diff options
author | Gabor Pali <pgj@FreeBSD.org> | 2009-03-09 16:15:06 +0000 |
---|---|---|
committer | Gabor Pali <pgj@FreeBSD.org> | 2009-03-09 16:15:06 +0000 |
commit | 9b9d65f6afbca20ebfaa157fe594a77f6ffc0c26 (patch) | |
tree | aab7260aae9fd1c4971908f628d02b9c687f9fdf /devel/icmake | |
parent | 48d5b775154b0f2f5946afaf0750c850e051ac48 (diff) | |
download | ports-9b9d65f6afbca20ebfaa157fe594a77f6ffc0c26.tar.gz ports-9b9d65f6afbca20ebfaa157fe594a77f6ffc0c26.zip |
Notes
Diffstat (limited to 'devel/icmake')
-rw-r--r-- | devel/icmake/Makefile | 49 | ||||
-rw-r--r-- | devel/icmake/distinfo | 3 | ||||
-rw-r--r-- | devel/icmake/files/patch-comp-lexer.c | 10 | ||||
-rw-r--r-- | devel/icmake/pkg-descr | 5 | ||||
-rw-r--r-- | devel/icmake/pkg-plist | 25 |
5 files changed, 92 insertions, 0 deletions
diff --git a/devel/icmake/Makefile b/devel/icmake/Makefile new file mode 100644 index 000000000000..2703474fd900 --- /dev/null +++ b/devel/icmake/Makefile @@ -0,0 +1,49 @@ +# New ports collection makefile for: icmake +# Date created: March 4, 2009 +# Whom: Gabor Pali <pgj@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= icmake +PORTVERSION= 7.11.1 +CATEGORIES= devel +MASTER_SITES= ftp://ftp.rug.nl/contrib/frank/software/linux/icmake/ +DISTNAME= ${PORTNAME}_${PORTVERSION} + +MAINTAINER= pgj@FreeBSD.org +COMMENT= An Intelligent C-like Maker + +MANCOMPRESSED= yes +MAN1= icmake.1 icmbuild.1 icmstart.1 + +DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION} +PORTDOCS= icmake.doc icmake.ps README.icmbuild + +PLIST_SUB+= PORTVERSION="${PORTVERSION}" + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + +post-patch: + @${REINPLACE_CMD} -e 's|"/usr/bin"|"${PREFIX}/bin"| ; \ + s|"/usr/share/icmake"|"${PREFIX}/share/icmake-${PORTVERSION}"| ; \ + s|"/usr/share/man/man1"|"${PREFIX}/man/man1"| ; \ + s|"/usr/lib/icmake"|"${PREFIX}/lib/icmake-${PORTVERSION}"|' \ + ${WRKSRC}/def/destinations + +do-build: + cd ${WRKSRC} && ${SH} ./bootstrap.sh + +do-install: + cd ${WRKSRC} && \ + ${SH} ./install.sh strip && \ + ./unix skel && \ + ./unix man +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for doc in ${PORTDOCS} + @${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.mk> diff --git a/devel/icmake/distinfo b/devel/icmake/distinfo new file mode 100644 index 000000000000..fe892c4e23c9 --- /dev/null +++ b/devel/icmake/distinfo @@ -0,0 +1,3 @@ +MD5 (icmake_7.11.1.tar.gz) = aa19b8d0747b01589bdba01b21df8c44 +SHA256 (icmake_7.11.1.tar.gz) = 20b9128c129ce853fe4a67feee68b87a751ec80e5a6760c0e4e856650f9ff75f +SIZE (icmake_7.11.1.tar.gz) = 304104 diff --git a/devel/icmake/files/patch-comp-lexer.c b/devel/icmake/files/patch-comp-lexer.c new file mode 100644 index 000000000000..8b00ed8b89ed --- /dev/null +++ b/devel/icmake/files/patch-comp-lexer.c @@ -0,0 +1,10 @@ +--- comp/lexer.c.orig 2007-11-02 10:58:59.000000000 +0100 ++++ comp/lexer.c 2009-03-03 23:33:08.000000000 +0100 +@@ -2,7 +2,6 @@ + + #line 4 "lexer.c" + +-#define __STDC_VERSION__ 199901L + #define YY_INT_ALIGNED short int + + /* A lexical scanner generated by flex */ diff --git a/devel/icmake/pkg-descr b/devel/icmake/pkg-descr new file mode 100644 index 000000000000..2aa10966f2ef --- /dev/null +++ b/devel/icmake/pkg-descr @@ -0,0 +1,5 @@ +Icmake is a hybrid between a 'make' utility and a 'shell script' +language. Originally, it was concocted to provide a useful tool for +automatic program maintenance and system administrative tasks on MS-DOS +platforms. Later on, Icmake was eventually ported to Unix platforms +(SCO and Linux). By now Icmake also runs on a HP-Unix platform. diff --git a/devel/icmake/pkg-plist b/devel/icmake/pkg-plist new file mode 100644 index 000000000000..3a006caef4d2 --- /dev/null +++ b/devel/icmake/pkg-plist @@ -0,0 +1,25 @@ +@comment $FreeBSD$ +bin/icmake +bin/icmun +share/icmake-%%PORTVERSION%%/parser/gramspec/grambuild +share/icmake-%%PORTVERSION%%/parser/gramspec/header.gr0 +share/icmake-%%PORTVERSION%%/parser/gramspec/startrule.gr0 +share/icmake-%%PORTVERSION%%/parser/grammar +share/icmake-%%PORTVERSION%%/scanner/lexer +share/icmake-%%PORTVERSION%%/scanner/scanner.h +share/icmake-%%PORTVERSION%%/scanner/scanner.ih +share/icmake-%%PORTVERSION%%/CLASSES +share/icmake-%%PORTVERSION%%/icmconf +share/icmake-%%PORTVERSION%%/icmstart.rc +share/icmake-%%PORTVERSION%%/main.cc +share/icmake-%%PORTVERSION%%/main.ih +share/icmake-%%PORTVERSION%%/usage.cc +share/icmake-%%PORTVERSION%%/version.cc +lib/icmake-%%PORTVERSION%%/icm-comp +lib/icmake-%%PORTVERSION%%/icm-exec +lib/icmake-%%PORTVERSION%%/icm-pp +@dirrm share/icmake-%%PORTVERSION%%/parser/gramspec +@dirrm share/icmake-%%PORTVERSION%%/parser +@dirrm share/icmake-%%PORTVERSION%%/scanner +@dirrm share/icmake-%%PORTVERSION%% +@dirrm lib/icmake-%%PORTVERSION%% |