aboutsummaryrefslogtreecommitdiffstats
path: root/comms/amtterm/Makefile
blob: 19bbb98470c844b8ad21ffe15cce9471b94656d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $FreeBSD$

PORTNAME=   amtterm
PORTVERSION=    1.3
PORTREVISION=   3
CATEGORIES= comms
MASTER_SITES=   https://www.kraxel.org/releases/${PORTNAME}/

MAINTAINER= crees@FreeBSD.org
COMMENT=    Serial-over-lan client for Intel AMT

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

RUN_DEPENDS=    p5-SOAP-Lite>=0.5:${PORTSDIR}/net/p5-SOAP-Lite

USES=       gmake dos2unix shebangfix
DOS2UNIX_FILES= RedirectionConstants.h
SHEBANG_FILES=  amttool

MAKEFILE=   GNUmakefile
MAKE_ARGS+= HAVE_GTK=no mandir=${STAGEDIR}${MANPREFIX}/man

PLIST_FILES=    bin/${PORTNAME} \
        bin/amttool \
        share/applications/gamt.desktop \
        man/man1/gamt.1.gz man/man1/${PORTNAME}.1.gz \
        man/man1/amttool.1.gz man/man7/amt-howto.7.gz

post-patch:
    @${REINPLACE_CMD} -e 's,/sbin/ldconfig -p,${LDCONFIG} -r,' \
        ${WRKSRC}/mk/Autoconf.mk

.include <bsd.port.mk>