aboutsummaryrefslogtreecommitdiffstats
path: root/x11/multi-aterm/Makefile
blob: 472fdd689ed33666a0853df3cb1fd8afd9b217f7 (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
35
36
37
38
39
40
41
# Created by: Sebastian Yepes <esn@x123.info>
# $FreeBSD$

PORTNAME=   multi-aterm
PORTVERSION=    0.2.1
PORTREVISION=   2
CATEGORIES= x11
MASTER_SITES=   http://www.nongnu.org/materm/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Multi terminal based on aterm

USE_XORG=   xpm
GNU_CONFIGURE=  yes
CONFIGURE_ARGS=--with-xpm=${LOCALBASE}

DOCS=       AUTHORS ChangeLog INSTALL TODO
MAN1=       multi-aterm.1

.if defined(WITH_UTMP)
CONFIGURE_ARGS+=    --enable-utmp
.endif

.if defined(WITH_WTMP)
CONFIGURE_ARGS+=    --enable-wtmp
.endif

NO_STAGE=   yes
pre-everything::
    @${ECHO_MSG} ""
    @${ECHO_MSG} "You can specify the following options:"
    @${ECHO_MSG} "WITH_UTMP=yes - enable utmp support"
    @${ECHO_MSG} "WITH_WTMP=yes - enable wtmp support"

.if !defined(NOPORTDOCS)
post-install:
    @${MKDIR} ${DOCSDIR}
    cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>