openbsd-ports/palm/pilrc/Makefile

47 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.6 2002/02/20 19:28:17 pvalchev Exp $
COMMENT= "generate resources for PalmOS applications from text descr"
DISTNAME= pilrc-2.8p5
PKGNAME= ${DISTNAME:S/p5/.5/}
CATEGORIES= palm devel
NEED_VERSION= 1.504
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
NO_REGRESS= Yes
CONFIGURE_STYLE= gnu
.if ${FLAVOR:L:Mno_x11}
CONFIGURE_ARGS= --disable-pilrcui
.else
USE_X11= Yes
LIB_DEPENDS= gtk.1.2,gdk.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>