1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/net/wol/Makefile
Baptiste Daroussin 062ed8d36f Convert from WITHOUT_NLS to PORT_OPTIONS:MNLS
While here do some conversion to new options framework
2013-05-06 10:22:41 +00:00

38 lines
694 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= wol
PORTVERSION= 0.7.1
PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= SF/ahh/OldFiles
MAINTAINER= ports@FreeBSD.org
COMMENT= Tool to wake up Wake-On-LAN compliant computers
GNU_CONFIGURE= yes
USE_PERL5_BUILD= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAN1= wol.1
INFO= wol
DOCS= AUTHORS NEWS README TODO
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext iconv
PLIST_SUB= NLS=""
.else
CONFIGURE_ARGS= --disable-nls
PLIST_SUB= NLS="@comment "
.endif
.if ${PORT_OPTIONS:MDOCS}
post-install:
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>