was supposed to work is useless, because if we can't trust the distfile from the remote machine, we can't trust the signature from the same machine either. Our MD5 and SHA256 are good for checking both the sanity and the trustiness of distfiles. Approved by: portmgr (erwin), erwin (mentor)
45 lines
922 B
Makefile
45 lines
922 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: wol
|
|
# Date created: Jan 10, 2001
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= wol
|
|
PORTVERSION= 0.7.1
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ahh
|
|
|
|
MAINTAINER= sergei@FreeBSD.org
|
|
COMMENT= Tool to wake up Wake-On-LAN compliant computers
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_PERL5_BUILD= 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}
|
|
|
|
.if defined(WITHOUT_NLS)
|
|
CONFIGURE_ARGS= --disable-nls
|
|
PLIST_SUB= NLS="@comment "
|
|
.else
|
|
USE_GETTEXT= yes
|
|
USE_ICONV= yes
|
|
PLIST_SUB= NLS=""
|
|
.endif
|
|
|
|
MAN1= wol.1
|
|
INFO= wol
|
|
DOCS= AUTHORS NEWS README TODO
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
post-install:
|
|
@${MKDIR} ${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|