2008-06-12 04:14:13 +02:00
|
|
|
# $NetBSD: Makefile,v 1.32 2008/06/12 02:14:28 joerg Exp $
|
2001-04-25 19:39:16 +02:00
|
|
|
#
|
|
|
|
|
2005-05-26 12:22:47 +02:00
|
|
|
DISTNAME= pilrc-3.2
|
2003-03-29 13:40:00 +01:00
|
|
|
#WRKSRC= ${WRKDIR}/pilrc-2.9p9
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 1
|
2001-04-25 19:39:16 +02:00
|
|
|
CATEGORIES= devel
|
2005-05-26 12:22:47 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pilrc/}
|
2002-10-16 01:34:40 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2005-05-26 12:22:47 +02:00
|
|
|
HOMEPAGE= http://pilrc.sourceforge.net/
|
2003-07-21 18:35:12 +02:00
|
|
|
COMMENT= Generate resources for PalmOS applications from textual description
|
2001-04-25 19:39:16 +02:00
|
|
|
|
2008-06-12 04:14:13 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2002-10-16 01:34:40 +02:00
|
|
|
GNU_CONFIGURE= YES
|
2005-05-26 12:22:47 +02:00
|
|
|
CONFIGURE_SCRIPT=unix/configure
|
2001-06-28 08:09:24 +02:00
|
|
|
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/html/pilrc
|
|
|
|
|
2001-04-25 19:39:16 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2005-05-19 03:25:01 +02:00
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.pilrc
|
|
|
|
PKG_SUPPORTED_OPTIONS= gtk
|
|
|
|
PKG_SUGGESTED_OPTIONS= gtk
|
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
update to 2.8.4
pilrcui (ui previewer) is broken in 2.8, but we get support for LP64.
What's new in 2.8 (Tue, 1 May 2001)
-----------------
o added new resources
- WORDLIST, GRAFITTIINPUTAREA, COLORTABLE, KEYBOARD, COUNTRYLOCALIZATION etc
- [MOST ARE SYSTEM USE ONLY], see doc/manual.html for more information
o ID generation consistancy fixes
- ie: VERSION ID 1 "1.0", VERSION 1 "1.0" and VERSION "1.0" should work
- restore's old behaviour to maintain compatibility in older sample code
o SLIDER changes
- fix warnings for sliders, no longer complain when legal :))
o error message fix
- adjust include file messing error to have line # printed :)
o DATA change
- such that the data file can be found in include directories specified
o added -LE32 flag, generate little endian 32bit compatible resources (ARM, NT)
o various bugfixes et al :P
o recursive includes (32-level deep) now supported
o added src2unix.sh script to strip ^M chars for UN*X users
o fixed strdup complaints
o updated documentation (POPUPLIST example)
o added "-R output.ro -prc" option
- resources are bundled into a prc database (instead of .bin) !yay!
- DEFAULT: cr8r: 'pRES' type: 'data' name: "PilRC resources"
- (can be installed on device)
o ability to custom specify the above using -creator -type and -name
o added srcindent.sh script to indent all source files using indent tool
o VC++ error/warning message syntax fix
o added creationDate/modificationDate chunks
o added support for non-32bit operating systems (alpha etc)
2001-05-11 10:14:33 +02:00
|
|
|
|
2005-05-19 03:25:01 +02:00
|
|
|
###
|
|
|
|
### gtk -- Build the GTK+ UI
|
|
|
|
###
|
2008-04-13 00:42:57 +02:00
|
|
|
PLIST_VARS+= pilrcui
|
2005-05-19 03:25:01 +02:00
|
|
|
.if !empty(PKG_OPTIONS:Mgtk)
|
|
|
|
. include "../../x11/gtk/buildlink3.mk"
|
2008-04-13 00:42:57 +02:00
|
|
|
PLIST.pilrcui= yes
|
|
|
|
CONFIGURE_ARGS+= --enable-pilrcui
|
2001-04-25 19:39:16 +02:00
|
|
|
.endif
|
|
|
|
|
2008-06-12 04:14:13 +02:00
|
|
|
INSTALLATION_DIRS= ${DOCDIR}/images
|
|
|
|
|
2001-04-25 19:39:16 +02:00
|
|
|
post-install:
|
2001-05-02 11:25:56 +02:00
|
|
|
cd ${WRKSRC}/doc && \
|
|
|
|
${INSTALL_DATA} archive.html download.html index.html \
|
2008-06-12 04:14:13 +02:00
|
|
|
contrib.html history.html manual.html ${DESTDIR}${DOCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/images/download.gif ${DESTDIR}${DOCDIR}/images
|
2001-04-25 19:39:16 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|