aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2006-01-25 07:46:37 +0800
committerlioux <lioux@FreeBSD.org>2006-01-25 07:46:37 +0800
commite5a6047d8959248b1100db2fb38681cd59c17d66 (patch)
tree5a00554dc5ea957adf565f4dfef19e9d05335314 /net-p2p
parenta2f06bf70dd6d48126b5a1c5a4a4a1fd06fe2a2c (diff)
downloadfreebsd-ports-gnome-e5a6047d8959248b1100db2fb38681cd59c17d66.tar.gz
freebsd-ports-gnome-e5a6047d8959248b1100db2fb38681cd59c17d66.tar.zst
freebsd-ports-gnome-e5a6047d8959248b1100db2fb38681cd59c17d66.zip
o Build and install mldonkey hashing signature tool: mld_hash
o Install kill_mldonkey script script into EXAMPLESDIR instead of PREFIX/bin since it is a sample requiring modification before being used. o Bump PORTREVISION
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/mldonkey-devel/Makefile9
-rw-r--r--net-p2p/mldonkey-devel/pkg-plist4
2 files changed, 11 insertions, 2 deletions
diff --git a/net-p2p/mldonkey-devel/Makefile b/net-p2p/mldonkey-devel/Makefile
index 63b91de7b1cd..96946b8a0dd5 100644
--- a/net-p2p/mldonkey-devel/Makefile
+++ b/net-p2p/mldonkey-devel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mldonkey
PORTVERSION= 2.7.3
+PORTREVISION= 1
CATEGORIES+= net
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -82,6 +83,10 @@ DOCFILES= Authors.txt Bugs.txt ChangeLog Developers.txt FAQ.html \
PORTDOCS= ${DOCFILES}
PKGMESSAGE= ${WRKDIR}/pkg-message
+# build additional tools
+ALL_TARGET+= \
+ mld_hash
+
.include <bsd.port.pre.mk>
# Fix build on 4.x
@@ -146,9 +151,11 @@ pre-install:
do-install:
.ifndef(WITHOUT_CORE)
+ @${INSTALL_PROGRAM} ${WRKSRC}/mld_hash ${PREFIX}/bin
@${INSTALL_PROGRAM} ${WRKSRC}/mlnet ${PREFIX}/bin/mlnet-real
- @${INSTALL_SCRIPT} ${FILESDIR}/kill_mldonkey ${PREFIX}/bin
@${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${PREFIX}/bin/mlnet
+ @${MKDIR} ${EXAMPLESDIR}
+ @${INSTALL_SCRIPT} ${FILESDIR}/kill_mldonkey ${EXAMPLESDIR}
.endif
.ifndef(WITHOUT_GUI)
@${INSTALL_PROGRAM} ${WRKSRC}/mlchat ${PREFIX}/bin
diff --git a/net-p2p/mldonkey-devel/pkg-plist b/net-p2p/mldonkey-devel/pkg-plist
index f2445bae30a7..671b4482cf9e 100644
--- a/net-p2p/mldonkey-devel/pkg-plist
+++ b/net-p2p/mldonkey-devel/pkg-plist
@@ -1,10 +1,12 @@
etc/rc.d/mlnet.sh
-%%CORE%%bin/kill_mldonkey
+%%CORE%%bin/mld_hash
%%CORE%%bin/mlnet
%%CORE%%bin/mlnet-real
+%%CORE%%%%EXAMPLESDIR%%/kill_mldonkey
%%GUICORE%%bin/mlguistarter
%%GUICORE%%bin/mldonkey_previewer
%%GUICORE%%bin/mlnet+gui
%%GUI%%bin/mlchat
%%GUI%%bin/mlgui
%%GUI%%bin/mlim
+%%CORE%%@dirrm %%EXAMPLESDIR%%