pkgsrc/x11/gcolor2/Makefile
wiz 4e3b1b97c2 librsvg: update bl3.mk to remove libcroco in rust case
recursive bump for the dependency change
2020-03-10 22:08:37 +00:00

34 lines
933 B
Makefile

# $NetBSD: Makefile,v 1.16 2020/03/10 22:11:12 wiz Exp $
DISTNAME= gcolor2-0.4
PKGREVISION= 13
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_GENTOO:=distfiles/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://gcolor2.sourceforge.net/
COMMENT= Simple color selector
LICENSE= gnu-gpl-v2
GNU_CONFIGURE= yes
USE_TOOLS+= gmake perl pkg-config
BUILD_DEPENDS+= p5-XML-Parser>=2.31nb1:../../textproc/p5-XML-Parser
SUBST_CLASSES+= df
SUBST_STAGE.df= post-configure
SUBST_MESSAGE.df= Fixing icon reference in desktop file
SUBST_FILES.df= ${PKGBASE}.desktop
SUBST_SED.df= -e 's:/usr/share:${PREFIX}/share:1'
AUTO_MKDIRS= yes
post-extract:
${RUN}${CP} ${FILESDIR}/${PKGBASE}.desktop ${WRKSRC}/
post-install:
${RUN}${INSTALL_DATA} ${WRKSRC}/${PKGBASE}.desktop ${DESTDIR}${PREFIX}/share/applications
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"