- Add no_x11 flavor

- Enable building of PilRCUI which gives you a preview of the resource
file you have created.  This adds gtk dependency and building it is
disabled when the no_x11 flavor is specified.  It is the default.
This commit is contained in:
pvalchev 2001-08-18 21:30:35 +00:00
parent 9f8970a760
commit 71597275bc
3 changed files with 14 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.1.1.1 2001/08/17 02:49:57 pvalchev Exp $
# $OpenBSD: Makefile,v 1.2 2001/08/18 21:30:35 pvalchev Exp $
COMMENT= "generate resources for PalmOS applications from text descr"
@ -19,9 +19,18 @@ PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://www.hig.se/~ardiri/download/palm/
FLAVORS= no_x11
FLAVOR?=
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
.if ${FLAVOR:L:Mno_x11}
CONFIGURE_ARGS= --disable-pilrcui
.else
LIB_DEPENDS= gtk.1.2:gtk+-*:x11/gtk+
CONFIGURE_ARGS= --enable-pilrcui
.endif
DOCDIR= ${PREFIX}/share/doc/pilrc

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.no-no_x11,v 1.1 2001/08/18 21:30:35 pvalchev Exp $
bin/pilrcui

View File

@ -1,5 +1,6 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/08/17 02:49:57 pvalchev Exp $
@comment $OpenBSD: PLIST,v 1.2 2001/08/18 21:30:35 pvalchev Exp $
bin/pilrc
!%%no_x11%%
share/doc/pilrc/archive.html
share/doc/pilrc/contrib.html
share/doc/pilrc/download.html