View | Details | Raw Unified | Return to bug 239993 | Differences between
and this patch

Collapse All | Expand All

(-)b/net-im/coyim/Makefile (-9 / +8 lines)
Lines 19-33 USES= gnome go pkgconfig shebangfix Link Here
19
19
20
USE_GNOME=	atk cairo gdkpixbuf2 glib20 gtk30 pango
20
USE_GNOME=	atk cairo gdkpixbuf2 glib20 gtk30 pango
21
21
22
SHEBANG_LANG=   sh
22
sh_OLD_CMD=	"/usr/bin/env bash"
23
sh_OLD_CMD=     "/usr/bin/env bash"
23
sh_CMD=		${SH}
24
sh_CMD=         /bin/sh
24
SHEBANG_FILES=	gen_version_file.sh
25
SHEBANG_FILES=  gen_version_file.sh
26
25
27
OPTIONS_DEFINE=	NLS
26
OPTIONS_DEFINE=	NLS
28
OPTIONS_SUB=	yes
27
OPTIONS_SUB=	yes
29
28
30
NLS_USES=	gettext
29
NLS_USES=		gettext
31
NLS_CONFIGURE_ENABLE=	nls
30
NLS_CONFIGURE_ENABLE=	nls
32
31
33
USE_GITHUB=	yes
32
USE_GITHUB=	yes
Lines 43-57 PLIST_FILES= bin/coyim \ Link Here
43
GTK_VERSION=	"$$(pkg-config --modversion gtk+-3.0 | ${TR} . _ | cut -d '_' -f 1-2)"
42
GTK_VERSION=	"$$(pkg-config --modversion gtk+-3.0 | ${TR} . _ | cut -d '_' -f 1-2)"
44
GTK_BUILD_TAG=	gtk_${GTK_VERSION}
43
GTK_BUILD_TAG=	gtk_${GTK_VERSION}
45
44
46
COYIM_ICON=		coyim.png
45
COYIM_ICON=	coyim.png
47
COYIM_ICON_SRC=		${WRKSRC}/build/mac-bundle/coy.iconset/icon_32x32@2x.png
46
COYIM_ICON_SRC=	${WRKSRC}/build/mac-bundle/coy.iconset/icon_32x32@2x.png
48
COYIM_DESKTOP=		${WRKSRC}/build/coyim.desktop
47
COYIM_DESKTOP=	${WRKSRC}/build/coyim.desktop
49
48
50
INSTALLATION_DIRS+=	share/applications share/pixmaps
49
INSTALLATION_DIRS+=	share/applications share/pixmaps
51
50
52
do-build:
51
do-build:
53
	cd ${WRKSRC}/${GH_SUBDIR} && \
52
	cd ${WRKSRC}/${GH_SUBDIR} && \
54
		./gen_version_file.sh ${DISTVERSIONPREFIX}${DISTVERSION} && \
53
		${SH} ./gen_version_file.sh ${DISTVERSIONPREFIX}${DISTVERSION} && \
55
		${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} \
54
		${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} \
56
		go build -tags ${GTK_BUILD_TAG} -o ${PORTNAME}
55
		go build -tags ${GTK_BUILD_TAG} -o ${PORTNAME}
57
56

Return to bug 239993