summaryrefslogtreecommitdiff
path: root/mail/libsnert/Makefile
blob: fd0cd18b84c270eb5c0eb3b5b2ce4144256cd521 (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# $NetBSD: Makefile,v 1.3 2003/12/24 09:53:49 jmmv Exp $
#

DISTNAME=		libsnert-1.23
CATEGORIES=		mail
MASTER_SITES=		http://www.snert.com/Software/download/
EXTRACT_SUFX=		.tgz

MAINTAINER=		manu@NetBSD.org
HOMEPAGE=		http://www.snert.com/Software/download/
COMMENT=		Support library for milter-sender

WRKSRC=			${WRKDIR}/com/snert/src/lib
GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--with-mutex=flock
MAKEFILE=		makefile
USE_BUILDLINK2=		yes

LICENSE=		snert-license
RESTRICTED=		"Redistribution not permitted"
NO_SRC_ON_FTP=		${RESTRICTED}
NO_SRC_ON_CDROM=	${RESTRICTED}
NO_BIN_ON_FTP=		${RESTRICTED}
NO_BIN_ON_CDROM=	${RESTRICTED}

INCDIR=			${WRKSRC}/../../include
LIBDIR=			${WRKSRC}/../../lib

do-install:
	${MKDIR} ${PREFIX}/include/com/snert/lib/crc
	${MKDIR} ${PREFIX}/include/com/snert/lib/io
	${MKDIR} ${PREFIX}/include/com/snert/lib/sys
	${MKDIR} ${PREFIX}/include/com/snert/lib/util
	${INSTALL_DATA} ${INCDIR}/com/snert/lib/autoconf.h	    \
			${PREFIX}/include/com/snert/lib/
	${INSTALL_DATA} ${INCDIR}/com/snert/lib/crc/Crc.h	    \
			${INCDIR}/com/snert/lib/crc/Luhn.h	    \
			${PREFIX}/include/com/snert/lib/crc
	${INSTALL_DATA} ${INCDIR}/com/snert/lib/io/Dns.h	    \
			${INCDIR}/com/snert/lib/io/Error.h	    \
			${INCDIR}/com/snert/lib/io/Log.h	    \
			${INCDIR}/com/snert/lib/io/Message.h	    \
			${INCDIR}/com/snert/lib/io/MessageStream.h  \
			${INCDIR}/com/snert/lib/io/posix.h	    \
			${INCDIR}/com/snert/lib/io/Socket.h	    \
			${INCDIR}/com/snert/lib/io/URI.h	    \
			${PREFIX}/include/com/snert/lib/io
	${INSTALL_DATA} ${INCDIR}/com/snert/lib/sys/Mutex.h	    \
			${INCDIR}/com/snert/lib/sys/Shared.h	    \
			${INCDIR}/com/snert/lib/sys/Thread.h	    \
			${INCDIR}/com/snert/lib/sys/Time.h 	    \
			${PREFIX}/include/com/snert/lib/sys
	${INSTALL_DATA} ${INCDIR}/com/snert/lib/util/BigInt.h	    \
			${INCDIR}/com/snert/lib/util/Buf.h	    \
			${INCDIR}/com/snert/lib/util/DebugMalloc.h  \
			${INCDIR}/com/snert/lib/util/EmailSpan.h    \
			${INCDIR}/com/snert/lib/util/getopt.h	    \
			${INCDIR}/com/snert/lib/util/HashTable.h    \
			${INCDIR}/com/snert/lib/util/JavaTime.h	    \
			${INCDIR}/com/snert/lib/util/md5.h	    \
			${INCDIR}/com/snert/lib/util/Memory.h	    \
			${INCDIR}/com/snert/lib/util/Pool.h	    \
			${INCDIR}/com/snert/lib/util/Property.h	    \
			${INCDIR}/com/snert/lib/util/Rotate.h	    \
			${INCDIR}/com/snert/lib/util/Text.h	    \
			${INCDIR}/com/snert/lib/util/Vector-new.h   \
			${INCDIR}/com/snert/lib/util/Vector.h	    \
			${PREFIX}/include/com/snert/lib/util
	${INSTALL_DATA} ${INCDIR}/com/snert/lib/version.h 	    \
			${PREFIX}/include/com/snert/lib
	${INSTALL_DATA} ${LIBDIR}/libsnert.a ${PREFIX}/lib

.include "../../mk/pthread.buildlink2.mk"
.include "../../mk/bsd.pkg.mk"