blob: bb4ae2d032430507b91fc955d2cc3aa22e22c6fe (
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
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
|
# New ports collection makefile for: ipa_sdb
# Date created: 27 December 2005
# Whom: Andrey Simonenko
#
# $FreeBSD$
#
PORTNAME= ipa_sdb
PORTVERSION= 1.0.1
CATEGORIES= databases
MASTER_SITES= http://ipa-system.sourceforge.net/modules/ipa_sdb/
MAINTAINER= simon@comsys.ntu-kpi.kiev.ua
COMMENT= IPA simple database module
USE_BZIP2= yes
GNU_CONFIGURE= yes
OPTIONS= AUTORULES "Enable dynamic rules support" on \
RULES "Enable static rules support" on \
LIMITS "Enable limits support" on \
THRESHOLDS "Enable thresholds support" on \
DEBUG_INFO "Produce debugging information" off \
MAN_KOI8_R "Install Russian manual pages" off
.include <bsd.port.pre.mk>
BUILD_DEPENDS= ${PREFIX}/include/ipa_mod.h:${PORTSDIR}/sysutils/ipa
PLIST_FILES= bin/ipa_sdb_dump lib/ipa_db_sdb.so lib/ipa_st_sdb.so \
include/ipa_sdb.h lib/ipa_db_sdb.la lib/ipa_st_sdb.la
.ifdef WITHOUT_AUTORULES
CONFIGURE_ARGS+= --disable-autorules
.endif
.ifdef WITHOUT_RULES
CONFIGURE_ARGS+= --disable-rules
.endif
.ifdef WITHOUT_LIMITS
CONFIGURE_ARGS+= --disable-limits
.endif
.ifdef WITHOUT_THRESHOLDS
CONFIGURE_ARGS+= --disable-thresholds
.endif
.ifdef WITH_DEBUG_INFO
STRIP= # empty
CFLAGS+= -g
.endif
MAN5= ipa_sdb.5
MAN8= ipa_db_sdb.8 ipa_st_sdb.8 ipa_sdb_dump.8
MANLANG= ""
.ifdef WITH_MAN_KOI8_R
MANLANG+= ru.KOI8-R
.endif
do-install:
cd ${WRKSRC}/src && make install
cd ${WRKSRC}/man && make install-am
.ifdef WITH_MAN_KOI8_R
cd ${WRKSRC}/man/ru.KOI8-R && make install
.endif
.include <bsd.port.post.mk>
|