aboutsummaryrefslogtreecommitdiffstats
path: root/news/slrn/Makefile
blob: 0f94910bf9c6084985f403879ab97acd72472455 (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
# New ports collection makefile for:   slrn
# Date created:        28 March 1997
# Whom:                Carey Jones <mcj@acquiesce.org>
#
# $FreeBSD$
#

PORTNAME=   slrn
PORTVERSION=    0.9.7.1
CATEGORIES= news ipv6
MASTER_SITES=   ftp://slrn.sourceforge.net/pub/slrn/
DISTNAME=   slrn-0.9.7.1

MAINTAINER= xaa+ports@timewasters.nl

LIB_DEPENDS=    slang.1:${PORTSDIR}/devel/libslang

GNU_CONFIGURE=  yes
ALL_TARGET= all slrnpull
MAN1=       slrn.1

CONFIGURE_ARGS= --enable-ipv6 --disable-inews

.if defined(WITH_SSL)
USE_OPENSSL=    YES
CONFIGURE_ARGS+=    --with-ssl
.endif

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/src/${MACHINE_ARCH}objs/slrn ${PREFIX}/bin
    ${INSTALL_PROGRAM} ${WRKSRC}/src/${MACHINE_ARCH}objs/slrnpull ${PREFIX}/bin
    @${MKDIR} ${PREFIX}/share/examples/slrn
    ${INSTALL_DATA} ${WRKSRC}/doc/slrn.rc ${PREFIX}/share/examples/slrn
    @${MKDIR} ${PREFIX}/share/examples/slrn/slrnpull
    ${INSTALL_DATA} ${WRKSRC}/doc/slrnpull/README ${PREFIX}/share/examples/slrn/slrnpull
    ${INSTALL_DATA} ${WRKSRC}/doc/slrnpull/SETUP ${PREFIX}/share/examples/slrn/slrnpull
    ${INSTALL_DATA} ${WRKSRC}/doc/slrnpull/score ${PREFIX}/share/examples/slrn/slrnpull
    ${INSTALL_DATA} ${WRKSRC}/doc/slrnpull/slrn.rc ${PREFIX}/share/examples/slrn/slrnpull
    ${INSTALL_DATA} ${WRKSRC}/doc/slrnpull/slrnpull.conf ${PREFIX}/share/examples/slrn/slrnpull
    ${INSTALL_DATA} ${WRKSRC}/doc/slrnpull/slrnpull.sh ${PREFIX}/share/examples/slrn/slrnpull
    ${INSTALL_MAN} ${WRKSRC}/doc/slrn.1 ${PREFIX}/man/man1

.include <bsd.port.mk>