-
Notifications
You must be signed in to change notification settings - Fork 160
/
Copy pathMakefile
42 lines (30 loc) · 1.08 KB
/
Makefile
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
# $NetBSD: Makefile,v 1.15 2023/10/24 22:10:13 wiz Exp $
#
DISTNAME= csup-snap-20100404
PKGNAME= ${DISTNAME:S/-snap//}
PKGREVISION= 5
CATEGORIES= net devel
MASTER_SITES= https://www.aydogan.net/distfiles/net/
MASTER_SITES+= http://www.plhk.ru/static/csup/
MAINTAINER= [email protected]
HOMEPAGE= http://www.mu.org/~mux/csup.html
COMMENT= Rewrite of the CVSup file updating client in C
LICENSE= 2-clause-bsd
USE_TOOLS+= lex yacc
USE_BSD_MAKEFILE= yes
WRKSRC= ${WRKDIR}/${DISTNAME}
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/cat1
CFLAGS+= ${PTHREAD_CFLAGS}
LDFLAGS+= ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}
BUILDLINK_TRANSFORM+= rm:-Werror
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD" \
|| ${OPSYS} == "DragonFly" || ${OPSYS} == "Darwin"
CFLAGS+= -DHAVE_FFLAGS
.endif
# taken from ${WRKSRC}/GNUmakefile
CFLAGS.Linux+= -D_XOPEN_SOURCE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
.include "../../devel/zlib/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"