blob: 6a07a094bbcd5c4a4b2f116fa97279d6660c5756 (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# $NetBSD: Makefile,v 1.38 2016/03/05 11:29:15 jperkin Exp $
#
DISTNAME= suck-4.3.2
PKGREVISION= 10
CATEGORIES= news
MASTER_SITES= ${MASTER_SITE_SUNSITE:=system/news/transport/}
MAINTAINER= pkgsrc-users@NetBSD.org
#failed 20120718
#HOMEPAGE= http://home.comcast.net/~bobyetman/
COMMENT= Feed a local news server without a dedicated newsfeed
GNU_CONFIGURE= yes
USE_FEATURES= snprintf
MAKE_JOBS_SAFE= no
.include "options.mk"
post-patch:
${SED} -e 's|%%%HISTORY%%%|${PREFIX}/etc/news/history|g' \
${WRKSRC}/Makefile.in >${WRKSRC}/Makefile.tmp
@${MV} ${WRKSRC}/Makefile.tmp ${WRKSRC}/Makefile.in
INSTALLATION_DIRS+= share/examples/suck
INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \
mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
post-install:
${INSTALL_DATA} ${WRKSRC}/sample/* ${DESTDIR}${PREFIX}/share/examples/suck
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Linux"
.include "../../databases/gdbm_compat/buildlink3.mk"
.endif
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|