aboutsummaryrefslogtreecommitdiffstats
path: root/news/sn/Makefile
blob: 23e81cff64e2c108acd0409b4e2cab79e7188e46 (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
# New ports collection makefile for:    sn
# Date created:     2004-02-21
# Whom:         Andreas Fehlner <fehlner@gmx.del>
#
# $FreeBSD$
#

PORTNAME=   sn
PORTVERSION=    0.3.8
CATEGORIES= news
MASTER_SITES=   http://www.infa.abo.fi/~patrik/sn/files/ \
        http://home.arcor.de/teambushido/fbsd_ports/\
        http://home.arcor.de/fehlner/fbsd_ports/

MAINTAINER= fehlner@gmx.de
COMMENT=    Small news system for small sites serving

PORTDOCS=   README CHANGES FAQ INSTALL INTERNALS \
        THANKS TODO INSTALL.notes INSTALL.notes2 \
        INSTALL.run INSTALL.upgrade

USE_BZIP2=  yes
USE_GMAKE=  yes

MAN8=       sn.8 sncancel.8 sncat.8 sndelgroup.8 sndumpdb.8 \
        snexpire.8 snfetch.8 snget.8 sngetd.8 snmail.8 \
        snnewgroup.8 snntpd.8 snprimedb.8 snscan.8 snsend.8 \
        snsplit.8 snstore.8

post-patch:
    @${REINPLACE_CMD} -e 's|^PREFIX|#PREFIX|g' ${WRKSRC}/Makefile

pre-install:
    @${MKDIR} /var/spool/news

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

.include <bsd.port.mk>