29 lines
804 B
Makefile
29 lines
804 B
Makefile
# $NetBSD: Makefile,v 1.25 2008/05/30 12:29:00 wiz Exp $
|
|
#
|
|
|
|
.include "../../net/mldonkey/Makefile.common"
|
|
|
|
PKGNAME= ${DISTNAME:S/mldonkey/mldonkey-gui/}
|
|
PKGREVISION= 1
|
|
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"
|