[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / x11 / gcolor2

File: [cvs.NetBSD.org] / pkgsrc / x11 / gcolor2 / Makefile (download)

Revision 1.12, Sun Aug 11 13:25:11 2019 UTC (3 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3, HEAD
Changes since 1.11: +2 -2 lines

Bump PKGREVISIONs for perl 5.30.0

# $NetBSD: Makefile,v 1.12 2019/08/11 13:25:11 wiz Exp $

DISTNAME=	gcolor2-0.4
PKGREVISION=	11
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"