openbsd-ports/palm/pilrc/Makefile
pvalchev 71597275bc - 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.
2001-08-18 21:30:35 +00:00

45 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.2 2001/08/18 21:30:35 pvalchev Exp $
COMMENT= "generate resources for PalmOS applications from text descr"
DISTNAME= pilrc-2.8p5
PKGNAME= ${DISTNAME:S/p4/.4/}
CATEGORIES= palm devel
NEED_VERSION= 1.438
HOMEPAGE= http://www.ardiri.com/index.php?redir=palm\&cat=pilrc
MAINTAINER= Peter Valchev <pvalchev@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
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
post-install:
${INSTALL_DATA_DIR} ${DOCDIR} ${DOCDIR}/images
cd ${WRKSRC}/doc && \
${INSTALL_DATA} archive.html download.html index.html \
contrib.html history.html manual.html ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/doc/images/download.gif ${DOCDIR}/images
.include <bsd.port.mk>