summaryrefslogtreecommitdiff
path: root/news/suck/Makefile
blob: 8fe7f0be3307526be841b4ebb4fa9f24a4edf2e6 (plain)
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
# $NetBSD: Makefile,v 1.2 1998/06/22 13:00:14 agc Exp $
#

DISTNAME=	suck-3.9.3
CATEGORIES=	news
MASTER_SITES=	http://home.att.net/~bobyetman/
MASTER_SITES+=	ftp://sunsite.unc.edu/pub/Linux/system/news/transport/
MASTER_SITES+=	ftp://tsx-11.mit.edu/pub/linux/sources/sbin/

MAINTAINER=	root@garbled.net

HAS_CONFIGURE=	yes
CONFIGURE_ARGS= --prefix=${LOCALBASE}

post-patch:
	@${CAT} ${WRKSRC}/Makefile.in | ${SED} \
		-e 's+%%%HISTORY%%%+'${LOCALBASE}'/etc/news/history+g' \
		>${WRKSRC}/Makefile.tmp
	@${MV} ${WRKSRC}/Makefile.tmp ${WRKSRC}/Makefile.in

post-install:
	${MKDIR} ${LOCALBASE}/share/examples/suck
	${CP} ${WRKSRC}/sample/* ${LOCALBASE}/share/examples/suck

.include "../../mk/bsd.pkg.mk"