diff options
author | wiz <wiz@pkgsrc.org> | 2001-04-25 17:39:16 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2001-04-25 17:39:16 +0000 |
commit | 9660ab3557d28592d0a3954cf7a8039afe9ae90c (patch) | |
tree | d118654cb51dcb716327b971b81b226d4a5265f3 /devel/pilrc | |
parent | f9f0edb39f3566564e55a6afe22e730ec85f4ad0 (diff) | |
download | pkgsrc-9660ab3557d28592d0a3954cf7a8039afe9ae90c.tar.gz |
PRC-Tools is a complete compiler tool chain for building Palm OS
applications in C or C++. It is free software. The PRC-Tools
package includes patched versions of the GNU packages GCC, binutils,
and gdb, along with various post-linker tools to produce Palm OS .PRC
files.
Supplied by Dieter Baron.
Diffstat (limited to 'devel/pilrc')
-rw-r--r-- | devel/pilrc/Makefile | 46 | ||||
-rw-r--r-- | devel/pilrc/distinfo | 6 | ||||
-rw-r--r-- | devel/pilrc/patches/patch-aa | 36 | ||||
-rw-r--r-- | devel/pilrc/patches/patch-ab | 78 | ||||
-rw-r--r-- | devel/pilrc/pkg/DESCR | 4 | ||||
-rw-r--r-- | devel/pilrc/pkg/PLIST | 12 |
6 files changed, 182 insertions, 0 deletions
diff --git a/devel/pilrc/Makefile b/devel/pilrc/Makefile new file mode 100644 index 00000000000..8aa4ca6e137 --- /dev/null +++ b/devel/pilrc/Makefile @@ -0,0 +1,46 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $ +# + +DISTNAME= pilrc-2_7b +PKGNAME= pilrc-2.7b +CATEGORIES= devel +MASTER_SITES= http://www.ardiri.com/download/palm/pilrc/archive/ +#PATCH_SITES= http://www.ardiri.com/download/palm/pilrc/patch/ +EXTRACT_SUFX= .zip + +MAINTAINER= dillo@giga.or.at +HOMEPAGE= http://www.ardiri.com/index.cfm?redir=palm&cat=pilrc +COMMENT= generate resources for PalmOS applications from textual description + +.include "../../mk/bsd.prefs.mk" + +PILRC_USE_GTK?= YES +.if ${PILRC_USE_GTK} == YES +DEPENDS+= gtk+>=1.2.0:../../x11/gtk +PLIST_SUBST+= PILRCUI='' +.else +CONFIGURE_ARGS+=--disable-pilrcui +PLIST_SUBST+= PILRCUI='@comment ' +.endif + +EXTRACT_CMD= unzip -aq ${DOWNLOADED_DISTFILE} + +WRKSRC= ${WRKDIR}/pilrc-2.7b +GNU_CONFIGURE= YES + +DOCDIR= ${PREFIX}/share/doc/html/pilrc + +post-extract: + ${CHMOD} +x ${WRKSRC}/configure + +post-install: + ${MKDIR} ${DOCDIR} + ${MKDIR} ${DOCDIR}/images + for f in archive.html download.html index.html contrib.html \ + history.html manual.html ; \ + do \ + ${INSTALL_DATA} ${WRKSRC}/doc/$$f ${DOCDIR} ; \ + done + ${INSTALL_DATA} ${WRKSRC}/doc/images/download.gif ${DOCDIR}/images + +.include "../../mk/bsd.pkg.mk" diff --git a/devel/pilrc/distinfo b/devel/pilrc/distinfo new file mode 100644 index 00000000000..170ae012173 --- /dev/null +++ b/devel/pilrc/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $ + +SHA1 (pilrc-2_7b.zip) = cc40803940f1749e387fdc4acb221168252e461e +Size (pilrc-2_7b.zip) = 192381 bytes +SHA1 (patch-aa) = e8ed545addaa333ea755efef6388a452f06f4c12 +SHA1 (patch-ab) = 8a494bd68f1b7d758b1618c7a5776f4363af660e diff --git a/devel/pilrc/patches/patch-aa b/devel/pilrc/patches/patch-aa new file mode 100644 index 00000000000..b4d0e39c17c --- /dev/null +++ b/devel/pilrc/patches/patch-aa @@ -0,0 +1,36 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $ + +--- configure.in.orig Thu Feb 8 08:50:24 2001 ++++ configure.in Thu Mar 22 12:11:10 2001 +@@ -34,13 +34,24 @@ + AC_PROG_CC + AC_PROG_RANLIB + +-AM_PATH_GTK(1.2.0, +-[ +-AM_CONDITIONAL(PILRCUI, true) +-], +-[ +-AM_CONDITIONAL(PILRCUI, false) +-]) ++AC_ARG_ENABLE(pilrcui, ++ [ --enable-pilrcui build pilrcui (needs gtk; default: enabled)]) ++ ++AC_MSG_CHECKING([whether pilrcui should be built]) ++if test -z "$enable_pilrcui" -o "$enable_pilrcui" = yes ++then ++ AC_MSG_RESULT([yes]) ++ AM_PATH_GTK(1.2.0, ++ [ ++ AM_CONDITIONAL(PILRCUI, true) ++ ], ++ [ ++ AM_CONDITIONAL(PILRCUI, false) ++ ]) ++else ++ AC_MSG_RESULT([no]) ++ AM_CONDITIONAL(PILRCUI, false) ++fi + + # Check for warnings flag if gcc was detected. + if test "x$ac_cv_prog_gcc" = "xyes"; then diff --git a/devel/pilrc/patches/patch-ab b/devel/pilrc/patches/patch-ab new file mode 100644 index 00000000000..df46e381aed --- /dev/null +++ b/devel/pilrc/patches/patch-ab @@ -0,0 +1,78 @@ +$NetBSD: patch-ab,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $ + +--- configure.orig Thu Mar 22 15:09:11 2001 ++++ configure Thu Mar 22 15:09:18 2001 +@@ -12,6 +12,8 @@ + ac_default_prefix=/usr/local + # Any additions from configure.in: + ac_help="$ac_help ++ --enable-pilrcui build pilrcui (needs gtk; default: enabled)" ++ac_help="$ac_help + --with-gtk-prefix=PFX Prefix where GTK is installed (optional)" + ac_help="$ac_help + --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)" +@@ -558,7 +560,7 @@ + # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" + # ./install, which can be erroneously created by make from ./install.sh. + echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 +-echo "configure:562: checking for a BSD compatible install" >&5 ++echo "configure:564: checking for a BSD compatible install" >&5 + if test -z "$INSTALL"; then + if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +@@ -611,7 +613,7 @@ + test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' + + echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 +-echo "configure:615: checking whether build environment is sane" >&5 ++echo "configure:617: checking whether build environment is sane" >&5 + # Just in case + sleep 1 + echo timestamp > conftestfile +@@ -1033,7 +1035,19 @@ + fi + + +-# Check whether --with-gtk-prefix or --without-gtk-prefix was given. ++# Check whether --enable-pilrcui or --disable-pilrcui was given. ++if test "${enable_pilrcui+set}" = set; then ++ enableval="$enable_pilrcui" ++ : ++fi ++ ++ ++echo $ac_n "checking whether pilrcui should be built""... $ac_c" 1>&6 ++echo "configure:1047: checking whether pilrcui should be built" >&5 ++if test -z "$enable_pilrcui" -o "$enable_pilrcui" = yes ++then ++ echo "$ac_t""yes" 1>&6 ++ # Check whether --with-gtk-prefix or --without-gtk-prefix was given. + if test "${with_gtk_prefix+set}" = set; then + withval="$with_gtk_prefix" + gtk_config_prefix="$withval" +@@ -1315,12 +1329,24 @@ + PILRCUI_TRUE='#' + PILRCUI_FALSE= + fi +- ++ + fi + + + rm -f conf.gtktest + ++else ++ echo "$ac_t""no" 1>&6 ++ ++ ++if false; then ++ PILRCUI_TRUE= ++ PILRCUI_FALSE='#' ++else ++ PILRCUI_TRUE='#' ++ PILRCUI_FALSE= ++fi ++fi + + # Check for warnings flag if gcc was detected. + if test "x$ac_cv_prog_gcc" = "xyes"; then diff --git a/devel/pilrc/pkg/DESCR b/devel/pilrc/pkg/DESCR new file mode 100644 index 00000000000..5ce016b0d83 --- /dev/null +++ b/devel/pilrc/pkg/DESCR @@ -0,0 +1,4 @@ +PilRC is an application that takes a resource script file and +generates one or more binary resource files that are to be used +when developing for the Palm Computing Platform. PilRCUI gives you +a preview of your resource file. diff --git a/devel/pilrc/pkg/PLIST b/devel/pilrc/pkg/PLIST new file mode 100644 index 00000000000..19d28e6efb5 --- /dev/null +++ b/devel/pilrc/pkg/PLIST @@ -0,0 +1,12 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $ +bin/pilrc +${PILRCUI}bin/pilrcui +share/doc/html/pilrc/archive.html +share/doc/html/pilrc/contrib.html +share/doc/html/pilrc/download.html +share/doc/html/pilrc/history.html +share/doc/html/pilrc/images/download.gif +share/doc/html/pilrc/index.html +share/doc/html/pilrc/manual.html +@dirrm share/doc/html/pilrc/images +@dirrm share/doc/html/pilrc |