blob: d560102333cef1d88e4f0c94f45a123fc71ea3ab (
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
|
# $NetBSD: Makefile,v 1.24 2007/10/29 16:08:44 wiz Exp $
#
.include "../../net/mldonkey/Makefile.common"
PKGNAME= ${DISTNAME:S/mldonkey/mldonkey-gui/}
COMMENT+= (GTK interface)
DEPENDS+= mldonkey-[0-9]*:../../net/mldonkey
USE_TOOLS+= pkg-config
PRINT_PLIST_AWK+= /^@dirrm libexec\/mldonkey$$/ \
{ print "@comment in mldonkey: " $$0; next }
INSTALLATION_DIRS= bin
.include "options.mk"
do-install:
${RM} -f ${PREFIX}/bin/mlgui
cd ${PREFIX}/bin && ${LN} -s ../libexec/mldonkey/mlgui mlgui
${INSTALL_PROGRAM_DIR} ${PREFIX}/libexec/mldonkey
${INSTALL_PROGRAM} ${WRKSRC}/mlgui ${PREFIX}/libexec/mldonkey
${INSTALL_PROGRAM} ${WRKSRC}/mlguistarter ${PREFIX}/libexec/mldonkey
${INSTALL_PROGRAM} ${WRKSRC}/mlnet+gui ${PREFIX}/libexec/mldonkey
.include "../../mk/bsd.pkg.mk"
|