blob: 499db5b6dd99c2f629a8345362921d72923fe982 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $NetBSD: Makefile,v 1.19 2021/05/24 19:55:59 wiz Exp $
DISTNAME= gcolor2-0.4
PKGREVISION= 16
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"
|