pkgsrc/devel/pilrc/Makefile
rillig 7724b801cd devel: align variable assignments
pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
2019-11-03 10:39:04 +00:00

43 lines
1,011 B
Makefile

# $NetBSD: Makefile,v 1.36 2019/11/03 10:39:28 rillig Exp $
#
DISTNAME= pilrc-3.2
#WRKSRC= ${WRKDIR}/pilrc-2.9p9
PKGREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pilrc/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://pilrc.sourceforge.net/
COMMENT= Generate resources for PalmOS applications from textual description
GNU_CONFIGURE= YES
CONFIGURE_SCRIPT= unix/configure
.include "../../mk/bsd.prefs.mk"
PKG_OPTIONS_VAR= PKG_OPTIONS.pilrc
PKG_SUPPORTED_OPTIONS= gtk
PKG_SUGGESTED_OPTIONS= gtk
.include "../../mk/bsd.options.mk"
###
### gtk -- Build the GTK+ UI
###
PLIST_VARS+= pilrcui
.if !empty(PKG_OPTIONS:Mgtk)
. include "../../x11/gtk/buildlink3.mk"
PLIST.pilrcui= yes
CONFIGURE_ARGS+= --enable-pilrcui
.endif
AUTO_MKDIRS= yes
post-install:
cd ${WRKSRC}/doc && ${INSTALL_DATA} *.html \
${DESTDIR}${PREFIX}/share/doc/pilrc
cd ${WRKSRC}/doc/images && ${INSTALL_DATA} download.gif \
${DESTDIR}${PREFIX}/share/doc/pilrc/images
.include "../../mk/bsd.pkg.mk"