aboutsummaryrefslogtreecommitdiffstats
path: root/converters/uudeview/Makefile
blob: 22d7a2ab3e8dee3d7a91f7e2c64e4b9a4caf7fe7 (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
42
43
44
45
46
47
# Created by: Tim Vanderhoek <ac199@freenet.hamilton.on.ca>
# $FreeBSD$

PORTNAME=   uudeview
PORTVERSION=    0.5.20
CATEGORIES= converters
MASTER_SITES=   http://www.fpx.de/fp/Software/UUDeview/download/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A program for uu/xx/Base64/BinHex/yEnc de-/encoding

LICENSE=    GPLv2

LIB_DEPENDS=    libuu.so:${PORTSDIR}/converters/uulib

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --disable-tcl

LDFLAGS+=   -L${LOCALBASE}/lib

MAN1=       uudeview.1 uuenview.1
PORTDOCS=   HISTORY porting.notes
PLIST_FILES=    bin/uudeview bin/uuenview

NO_STAGE=   yes
.include <bsd.port.pre.mk>

# Try and catch some of the different places that inn and cnews put inews
.if exists(${PREFIX}/bin/inews)
# cnews
CONFIGURE_ARGS+=    --enable-inews=${PREFIX}/bin/inews
.else
# inn by default
CONFIGURE_ARGS+=    --enable-inews=${PREFIX}/news/lib/inews
.endif

post-install:
    @${STRIP_CMD} ${PREFIX}/bin/uudeview
    @${STRIP_CMD} ${PREFIX}/bin/uuenview
.if ${PORT_OPTIONS:MDOCS}
    @${ECHO_MSG} "===>  Installing documents to ${DOCSDIR}"
    @${MKDIR} ${DOCSDIR}
    @${INSTALL_DATA} ${WRKSRC}/HISTORY ${DOCSDIR}
    @${INSTALL_DATA} ${FILESDIR}/porting.notes ${DOCSDIR}
.endif

.include <bsd.port.post.mk>