# $NetBSD: Makefile,v 1.11 2002/10/15 23:34:40 dillo Exp $ # DISTNAME= pilrc-2.9p9 PKGNAME= pilrc-2.9.10 DIFFS= pilrc-2.9p10.diff EXTRACT_SUFFIX= .tgz DISTFILES= ${DISTNAME}${EXTRACT_SUFFIX} ${DIFFS} CATEGORIES= devel MASTER_SITES= http://www.ardiri.com/download/files/palm/ #MASTER_SITES= http://www.ardiri.com/download/palm/pilrc/archive/ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFFIX} # we can't use this, since pilrc's maintainer won't create patches with # unix line endings #PATCH_SITES= ${MASTER_SITES} #PATCHFILES= pilrc-2.9p10.diff #PATCH_DIST_STRIP+=-p1 MAINTAINER= dillo@netbsd.org HOMEPAGE= http://www.ardiri.com/index.cfm?redir=palm&cat=pilrc COMMENT= generate resources for PalmOS applications from textual description #EXTRACT_CMD= unzip -aq ${DOWNLOADED_DISTFILE} USE_GMAKE= YES USE_BUILDLINK2= YES GNU_CONFIGURE= YES #WRKSRC= ${WRKDIR}/pilrc-2.9p9 DOCDIR= ${PREFIX}/share/doc/html/pilrc .include "../../mk/bsd.prefs.mk" PILRC_USE_GTK?= YES .if ${PILRC_USE_GTK} == YES .include "../../x11/gtk/buildlink2.mk" PLIST_SUBST+= PILRCUI='' .else CONFIGURE_ARGS+=--disable-pilrcui PLIST_SUBST+= PILRCUI='@comment ' .endif #post-extract: # ${CHMOD} +x ${WRKSRC}/configure # ${CHMOD} +x ${WRKSRC}/missing pre-patch: cd ${WRKSRC} && tr -d '\015' < ${DISTDIR}/${DIFFS} \ | ${PATCH} --quiet -p1 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 "../../mk/bsd.pkg.mk"