diff options
author | ijliao <ijliao@FreeBSD.org> | 2003-05-07 18:00:59 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2003-05-07 18:00:59 +0000 |
commit | 112c187ee2030c99f28fe9f8225100bf15318d6d (patch) | |
tree | 11c813e4ad0e0c0e7be3228d65283c4e6beccfde /net | |
parent | 9e1c523a832d65333e166f3bac27aa2c0de72993 (diff) | |
download | FreeBSD-ports-112c187ee2030c99f28fe9f8225100bf15318d6d.zip FreeBSD-ports-112c187ee2030c99f28fe9f8225100bf15318d6d.tar.gz |
utilize USE_GETOPT_LONG
Add missing iconv dependency
Clarify COMMENT and pkg-descr
Silence configure warning by using CONFIGURE_TARGET
PR: 51873
Submitted by: Sergei Kolobov <sergei@kolobov.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/wol/Makefile | 25 | ||||
-rw-r--r-- | net/wol/pkg-descr | 32 | ||||
-rw-r--r-- | net/wol/pkg-plist | 5 |
3 files changed, 43 insertions, 19 deletions
diff --git a/net/wol/Makefile b/net/wol/Makefile index bfb358a..e834d8ce 100644 --- a/net/wol/Makefile +++ b/net/wol/Makefile @@ -8,19 +8,30 @@ PORTNAME= wol PORTVERSION= 0.6.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ahh -MAINTAINER= ports@FreeBSD.org -COMMENT= Wake On LAN client +MAINTAINER= sergei@kolobov.com +COMMENT= Tool to wake up Wake-On-LAN compliant computers LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext \ - gnugetopt.1:${PORTSDIR}/devel/libgnugetopt + iconv.3:${PORTSDIR}/converters/libiconv -GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib -liconv -lgnugetopt" +GNU_CONFIGURE= yes +USE_GETOPT_LONG= yes +CPPFLAGS= -I${LOCALBASE}/include +LDFLAGS= -L${LOCALBASE}/lib +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} + +DOCS= AUTHORS NEWS README TODO + +.if !defined(NOPORTDOCS) +post-install: + @${MKDIR} ${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} +.endif .include <bsd.port.mk> diff --git a/net/wol/pkg-descr b/net/wol/pkg-descr index 9d82c30..d87712c 100644 --- a/net/wol/pkg-descr +++ b/net/wol/pkg-descr @@ -1,14 +1,22 @@ -wol implements Wake On LAN functionality in a small program. It wakes up -hardware that is Magic Packet compliant. +wol implements Wake-On-LAN functionality in a small program. +It wakes up hardware that is Magic Packet compliant. + +Consider you have a sleeping or turned-off computer +and you want to wake it up remotely. Just type: + + # wol <MAC-ADDRESS> + +and the host wakes up (OK, it will boot ;-). Features: - Wakes up various NIC's (tested) - 3COM 3C905c - Intel EtherExpress Pro 100 - Linksys Etherfast LNE100TX - Realtek LFE8139 - LevelOne FNC-0107TX - Wake up from file (same as /etc/ethers and an enhanced format) - Sleeping between two wake ups (measured in milliseconds) - -WWW: http://ahh.sourceforge.net/wol/ +- Wakes up various NIC's (tested) + - 3COM 3C905c + - Intel EtherExpress Pro 100 + - Linksys Etherfast LNE100TX + - Realtek LFE8139 + - LevelOne FNC-0107TX +- Wake up from file (same as /etc/ethers and an enhanced format) +- Sleeping between two wake ups (measured in milliseconds) + +Author: Thomas Krennwallner <krennwallner@aon.at> +WWW: http://ahh.sourceforge.net/wol/ diff --git a/net/wol/pkg-plist b/net/wol/pkg-plist index 4c20455..24ebf22 100644 --- a/net/wol/pkg-plist +++ b/net/wol/pkg-plist @@ -3,6 +3,11 @@ bin/wol-dhcpdconf @unexec install-info --delete %D/info/wol.info %D/info/dir info/wol.info @exec install-info %D/info/wol.info %D/info/dir +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS +%%PORTDOCS%%%%DOCSDIR%%/NEWS +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/TODO +%%PORTDOCS%%@dirrm %%DOCSDIR%% share/locale/de/LC_MESSAGES/wol.mo share/locale/fr/LC_MESSAGES/wol.mo share/locale/it/LC_MESSAGES/wol.mo |