aboutsummaryrefslogtreecommitdiffstats
path: root/news/newspost/Makefile
blob: faa0448b50262c3926c280db21d123f9c5529915 (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
# ex:ts=8
# Ports collection makefile for:  newspost
# Date created:                          Tue Jul 23, 2002
# Whom:                                  Michael L. Hostbaek (mich@freebsdcluster.org)
#
# $FreeBSD$
#

PORTNAME=   newspost
PORTVERSION=    2.0
CATEGORIES= news
MASTER_SITES=   http://newspost.unixcab.org/download/

MAINTAINER= mich@freebsdcluster.org

DOCSDIR=    ${PREFIX}/share/doc/${PORTNAME}

USE_REINPLACE=  yes

post-patch:
    @${REINPLACE_CMD} -e "s|^CC|#CC|g" \
        -e "s|^OPT_FLAGS|#OPT_FLAGS|g" ${WRKSRC}/Makefile

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
    ${INSTALL_MAN} ${WRKSRC}/man/man1/newspost.1 ${PREFIX}/man/man1

.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README
.endif

MAN1=           newspost.1

.include <bsd.port.mk>